#663DFF#663DFF
#663DFF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.264 H 282.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #663DFF |
|---|---|
| RGB | rgb(102, 61, 255) |
| HSL | hsl(253, 100%, 62%) |
| HSV | hsv(253, 76%, 100%) |
| CMYK | cmyk(60%, 76.1%, 0%, 0%) |
| CIE-LAB | lab(43.33, 65.44, -89.38) |
| CIE-LCH | lch(43.33, 110.78, 306.21°) |
| OKLab | oklab(54.07% 0.0583 -0.2577) |
| OKLCH | oklch(54.07% 0.264 282.7) |
| XYZ | xyz(25.1926, 13.3805, 95.8435) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.05
Bluish Purple
#703BE7
ΔE00 3.13
Purpley Blue
#5F34E7
ΔE00 4.14
Burple
#6832E3
ΔE00 4.48
Purplish Blue
#601EF9
ΔE00 5.06
Light Royal Blue
#3A2EFE
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663DFF #D6FF3D
analogous
#3D75FF #663DFF #C73DFF
triadic
#663DFF #FF663D #3DFF66
tetradic
#663DFF #FF3D75 #D6FF3D #3DFFC7
square
#663DFF #FF3D75 #D6FF3D #3DFFC7
split-complementary
#663DFF #FFC73D #75FF3D
monochromatic
#2900C2 #3600FF #663DFF #967AFF #C7B7FF
Accessibility & contrast
On white
5.71
#663DFF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#663DFF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663DFF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663DFF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663DFF | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#00769D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #663dff; /* rgb */ color: rgb(102, 61, 255); /* oklch */ color: oklch(54.1% 0.264 282.7);
Tailwind
colors: {
custom: {
50: '#a278ff',
500: '#663dff',
950: '#000000',
},
}SCSS
$custom: #663dff; $custom-light: #a278ff; $custom-dark: #000000;
JSON
{
"hex": "#663dff",
"rgb": {
"r": 102,
"g": 61,
"b": 255
},
"hsl": {
"h": 252.68,
"s": 100,
"l": 61.961
},
"oklch": {
"l": 0.54073,
"c": 0.26425,
"h": 282.7
},
"luminance": 0.13382
}Semantic roles & 50–950 ramp
primary
#663DFF
secondary
#E1F0A8
accent
#E600B5
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86