#663FBF#663FBF
#663FBF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.189 H 291.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #663FBF |
|---|---|
| RGB | rgb(102, 63, 191) |
| HSL | hsl(258, 50%, 50%) |
| HSV | hsv(258, 67%, 75%) |
| CMYK | cmyk(46.6%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(38.09, 46.65, -61.40) |
| CIE-LCH | lch(38.09, 77.11, 307.22°) |
| OKLab | oklab(48.66% 0.0704 -0.1758) |
| OKLCH | oklch(48.66% 0.189 291.8) |
| XYZ | xyz(16.6583, 10.1408, 50.3598) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.49
Blue With A Hint Of Purple
#533CC6
ΔE00 3.23
Blurple
#5539CC
ΔE00 3.41
Ocean Blue
#4F42B5
ΔE00 4.21
Burple
#6832E3
ΔE00 4.98
Purpley Blue
#5F34E7
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FBF #98BF3F
analogous
#3F58BF #663FBF #A63FBF
triadic
#663FBF #BF663F #3FBF66
tetradic
#663FBF #BF3F58 #98BF3F #3FBFA6
square
#663FBF #BF3F58 #98BF3F #3FBFA6
split-complementary
#663FBF #BFA63F #58BF3F
monochromatic
#352163 #4D3091 #663FBF #8A6DCF #AF9BDE
Accessibility & contrast
On white
6.93
#663FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#663FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FBF
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FBF | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#4B5E7A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663fbf; /* rgb */ color: rgb(102, 63, 191); /* oklch */ color: oklch(48.7% 0.189 291.8);
Tailwind
colors: {
custom: {
50: '#9977d3',
500: '#663fbf',
950: '#000000',
},
}SCSS
$custom: #663fbf; $custom-light: #9977d3; $custom-dark: #000000;
JSON
{
"hex": "#663fbf",
"rgb": {
"r": 102,
"g": 63,
"b": 191
},
"hsl": {
"h": 258.281,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.48661,
"c": 0.18937,
"h": 291.8
},
"luminance": 0.10141
}Semantic roles & 50–950 ramp
primary
#663FBF
secondary
#B8CA90
accent
#DA4EAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83