#6C4FCA#6C4FCA
#6C4FCA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.182 H 289.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FCA |
|---|---|
| RGB | rgb(108, 79, 202) |
| HSL | hsl(254, 54%, 55%) |
| HSV | hsv(254, 61%, 79%) |
| CMYK | cmyk(46.5%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.83, 42.02, -60.09) |
| CIE-LCH | lch(42.83, 73.32, 304.96°) |
| OKLab | oklab(52.49% 0.0607 -0.1718) |
| OKLCH | oklch(52.49% 0.182 289.5) |
| XYZ | xyz(19.6380, 13.0436, 57.3486) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.32
Iris
#6258C4
ΔE00 3.52
Bluey Purple
#6241C7
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 5.20
Bluish Purple
#703BE7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FCA #ADCA4F
analogous
#4F70CA #6C4FCA #A94FCA
triadic
#6C4FCA #CA6C4F #4FCA6C
tetradic
#6C4FCA #CA4F70 #ADCA4F #4FCAA9
square
#6C4FCA #CA4F70 #ADCA4F #4FCAA9
split-complementary
#6C4FCA #CAA94F #70CA4F
monochromatic
#39257A #4F33A9 #6C4FCA #937ED8 #BBADE6
Accessibility & contrast
On white
5.82
#6C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#6C4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FCA
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FCA | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#4E6B85
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6c4fca; /* rgb */ color: rgb(108, 79, 202); /* oklch */ color: oklch(52.5% 0.182 289.5);
Tailwind
colors: {
custom: {
50: '#9d82db',
500: '#6c4fca',
950: '#000000',
},
}SCSS
$custom: #6c4fca; $custom-light: #9d82db; $custom-dark: #000000;
JSON
{
"hex": "#6c4fca",
"rgb": {
"r": 108,
"g": 79,
"b": 202
},
"hsl": {
"h": 254.146,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.52491,
"c": 0.18216,
"h": 289.5
},
"luminance": 0.13044
}Semantic roles & 50–950 ramp
primary
#6C4FCA
secondary
#C8D4A1
accent
#DD4BBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83