#663EFC#663EFC
#663EFC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.9% C 0.260 H 283.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #663EFC |
|---|---|
| RGB | rgb(102, 62, 252) |
| HSL | hsl(253, 97%, 62%) |
| HSV | hsv(253, 75%, 99%) |
| CMYK | cmyk(59.5%, 75.4%, 0%, 1.2%) |
| CIE-LAB | lab(43.21, 64.16, -87.91) |
| CIE-LCH | lch(43.21, 108.83, 306.12°) |
| OKLab | oklab(53.9% 0.0584 -0.2535) |
| OKLCH | oklch(53.9% 0.26 283) |
| XYZ | xyz(24.7674, 13.2966, 93.3380) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.74
Bluish Purple
#703BE7
ΔE00 2.90
Purpley Blue
#5F34E7
ΔE00 3.95
Burple
#6832E3
ΔE00 4.30
Purplish Blue
#601EF9
ΔE00 5.07
Light Royal Blue
#3A2EFE
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EFC #D4FC3E
analogous
#3E75FC #663EFC #C53EFC
triadic
#663EFC #FC663E #3EFC66
tetradic
#663EFC #FC3E75 #D4FC3E #3EFCC5
square
#663EFC #FC3E75 #D4FC3E #3EFCC5
split-complementary
#663EFC #FCC53E #75FC3E
monochromatic
#2A03BD #3704F9 #663EFC #967AFD #C6B7FE
Accessibility & contrast
On white
5.74
#663EFC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#663EFC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663EFC
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EFC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EFC | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0060F9
Tritanopia (blue-blind)
#00759B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #663efc; /* rgb */ color: rgb(102, 62, 252); /* oklch */ color: oklch(53.9% 0.260 283.0);
Tailwind
colors: {
custom: {
50: '#a278ff',
500: '#663efc',
950: '#000000',
},
}SCSS
$custom: #663efc; $custom-light: #a278ff; $custom-dark: #000000;
JSON
{
"hex": "#663efc",
"rgb": {
"r": 102,
"g": 62,
"b": 252
},
"hsl": {
"h": 252.632,
"s": 96.939,
"l": 61.569
},
"oklch": {
"l": 0.53901,
"c": 0.26011,
"h": 283
},
"luminance": 0.13298
}Semantic roles & 50–950 ramp
primary
#663EFC
secondary
#DFEEA8
accent
#E600B5
background
#FAF7FF
surface
#F5EEFF
border
#CFC9D7
text
#110918
muted
#807B86