#6F4FCA#6F4FCA
#6F4FCA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.182 H 290.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4FCA |
|---|---|
| RGB | rgb(111, 79, 202) |
| HSL | hsl(256, 54%, 55%) |
| HSV | hsv(256, 61%, 79%) |
| CMYK | cmyk(45%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.12, 42.63, -59.61) |
| CIE-LCH | lch(43.12, 73.29, 305.57°) |
| OKLab | oklab(52.77% 0.0647 -0.1703) |
| OKLCH | oklch(52.77% 0.182 290.8) |
| XYZ | xyz(20.0092, 13.2350, 57.3660) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 3.47
Iris
#6258C4
ΔE00 3.87
Bluey Purple
#6241C7
ΔE00 4.20
Dark Periwinkle
#665FD1
ΔE00 5.39
Bluish Purple
#703BE7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4FCA #AACA4F
analogous
#4F6CCA #6F4FCA #AD4FCA
triadic
#6F4FCA #CA6F4F #4FCA6F
tetradic
#6F4FCA #CA4F6C #AACA4F #4FCAAD
square
#6F4FCA #CA4F6C #AACA4F #4FCAAD
split-complementary
#6F4FCA #CAAD4F #6CCA4F
monochromatic
#3B257A #5233A9 #6F4FCA #957ED8 #BCADE6
Accessibility & contrast
On white
5.76
#6F4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#6F4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F4FCA
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4FCA | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#546B85
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6f4fca; /* rgb */ color: rgb(111, 79, 202); /* oklch */ color: oklch(52.8% 0.182 290.8);
Tailwind
colors: {
custom: {
50: '#9f82db',
500: '#6f4fca',
950: '#000000',
},
}SCSS
$custom: #6f4fca; $custom-light: #9f82db; $custom-dark: #000000;
JSON
{
"hex": "#6f4fca",
"rgb": {
"r": 111,
"g": 79,
"b": 202
},
"hsl": {
"h": 255.61,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.52768,
"c": 0.18212,
"h": 290.8
},
"luminance": 0.13236
}Semantic roles & 50–950 ramp
primary
#6F4FCA
secondary
#C7D4A1
accent
#DD4BB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83