#6F54CA#6F54CA
#6F54CA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.175 H 289.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6F54CA |
|---|---|
| RGB | rgb(111, 84, 202) |
| HSL | hsl(254, 53%, 56%) |
| HSV | hsv(254, 58%, 79%) |
| CMYK | cmyk(45%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.21, 39.76, -57.84) |
| CIE-LCH | lch(44.21, 70.19, 304.50°) |
| OKLab | oklab(53.57% 0.0591 -0.165) |
| OKLCH | oklch(53.57% 0.175 289.7) |
| XYZ | xyz(20.3835, 13.9837, 57.4908) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.04
Slate Blue
#6A5ACD
ΔE00 2.19
Iris
#6258C4
ΔE00 2.97
Dark Periwinkle
#665FD1
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F54CA #AFCA54
analogous
#5474CA #6F54CA #AA54CA
triadic
#6F54CA #CA6F54 #54CA6F
tetradic
#6F54CA #CA5474 #AFCA54 #54CAAA
square
#6F54CA #CA5474 #AFCA54 #54CAAA
split-complementary
#6F54CA #CAAA54 #74CA54
monochromatic
#3A277D #5035AC #6F54CA #9683D8 #BEB1E7
Accessibility & contrast
On white
5.53
#6F54CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#6F54CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F54CA
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F54CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F54CA | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0066C7
Tritanopia (blue-blind)
#536E87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6f54ca; /* rgb */ color: rgb(111, 84, 202); /* oklch */ color: oklch(53.6% 0.175 289.7);
Tailwind
colors: {
custom: {
50: '#9e85db',
500: '#6f54ca',
950: '#000000',
},
}SCSS
$custom: #6f54ca; $custom-light: #9e85db; $custom-dark: #000000;
JSON
{
"hex": "#6f54ca",
"rgb": {
"r": 111,
"g": 84,
"b": 202
},
"hsl": {
"h": 253.729,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.5357,
"c": 0.17529,
"h": 289.7
},
"luminance": 0.13984
}Semantic roles & 50–950 ramp
primary
#6F54CA
secondary
#CAD5A5
accent
#DC4CBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83