#8A3FFC

Royal Blue

#8A3FFCRoyal Blue

Luminance

0.160

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#8A3FFC
No #
8A3FFC

RGB

RGB
rgb(138, 63, 252)
Values
R:138 G:63 B:252

HSL

HSL
hsl(264, 97%, 62%)
Values
H:264° S:97% L:62%

HSV / HSB

HSV
hsv(264, 75%, 99%)
Values
H:264° S:75% V:99%

CMYK

CMYK
cmyk(45%, 75%, 0%, 1%)
Values
C:45 M:75 Y:0 K:1

LAB

LAB
lab(47, 68, -82)
Values
L:47 a:68 b:-82

OKLCH

OKLCH
oklch(57.4% 0.258 294.9)
Values
L:57.4% C:0.258 H:294.9°

Code Formats

CSS
color: #8A3FFC;
Swift
UIColor(red: 0.541, green: 0.247, blue: 0.988, alpha: 1.0)
Kotlin
Color(0xFF8A3FFC)
Flutter
Color(0xFF8A3FFC)
Android
#FF8A3FFC

Contrast Analysis

WCAG compliance with grayscale colors

On White

5.00:1

AA

On Black

4.20:1

AA-large

Grayscale Contrast

Aa

0%

4.2

AA-large
Aa

10%

3.5

AA-large
Aa

20%

2.5

Fail
Aa

30%

1.7

Fail
Aa

40%

1.1

Fail
Aa

50%

1.2

Fail
Aa

60%

1.8

Fail
Aa

70%

2.4

Fail
Aa

80%

3.1

AA-large
Aa

90%

4.0

AA-large
Aa

100%

5.0

AA

Best Grayscale Contrast

#FFFFFF with ratio 5.00:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #C8A5FE 0%, #5603D3 100%)
OKLCH
linear-gradient(90deg, oklch(78.6% 0.128 301.6) 0%, oklch(44.1% 0.253 286.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #A366FF 0%, #6C0AFF 100%)
OKLCH
linear-gradient(135deg, oklch(64.9% 0.218 298.5) 0%, oklch(51.2% 0.291 287.2) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #8A3FFC 0%, #B1FC40 100%)
OKLCH
linear-gradient(90deg, oklch(57.4% 0.258 294.9) 0%, oklch(90.9% 0.221 129.4) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #4053FC 0%, #8A3FFC 50%, #E940FC 100%)
OKLCH
linear-gradient(90deg, oklch(54.3% 0.248 270.3) 0%, oklch(57.4% 0.258 294.9) 50%, oklch(69.2% 0.282 323.5) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #8536FC 0%, #1A0A33 100%)
OKLCH
linear-gradient(180deg, oklch(56.0% 0.266 294.0) 0%, oklch(19.8% 0.076 296.7) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #B381FD 0%, #6104EC 100%)
OKLCH
radial-gradient(circle, oklch(70.5% 0.180 300.5) 0%, oklch(47.9% 0.276 286.4) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette