#6F54BE#6F54BE
#6F54BE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.7% C 0.160 H 291.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #6F54BE |
|---|---|
| RGB | rgb(111, 84, 190) |
| HSL | hsl(255, 45%, 54%) |
| HSV | hsv(255, 56%, 75%) |
| CMYK | cmyk(41.6%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(43.41, 36.35, -52.17) |
| CIE-LCH | lch(43.41, 63.58, 304.87°) |
| OKLab | oklab(52.73% 0.0591 -0.1483) |
| OKLCH | oklch(52.73% 0.16 291.7) |
| XYZ | xyz(19.0176, 13.4373, 50.2969) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.25
Slate Blue
#6A5ACD
ΔE00 3.29
Light Indigo
#6D5ACF
ΔE00 3.31
Royal Purple
#7851A9
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 5.12
Bluey Purple
#6241C7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F54BE #A3BE54
analogous
#546EBE #6F54BE #A454BE
triadic
#6F54BE #BE6F54 #54BE6F
tetradic
#6F54BE #BE546E #A3BE54 #54BEA4
square
#6F54BE #BE546E #A3BE54 #54BEA4
split-complementary
#6F54BE #BEA454 #6EBE54
monochromatic
#3B2A6E #533B9A #6F54BE #9480CF #BAADE0
Accessibility & contrast
On white
5.69
#6F54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#6F54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F54BE
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F54BE | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#2464BC
Tritanopia (blue-blind)
#596B81
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6f54be; /* rgb */ color: rgb(111, 84, 190); /* oklch */ color: oklch(52.7% 0.160 291.7);
Tailwind
colors: {
custom: {
50: '#9d85d2',
500: '#6f54be',
950: '#000000',
},
}SCSS
$custom: #6f54be; $custom-light: #9d85d2; $custom-dark: #000000;
JSON
{
"hex": "#6f54be",
"rgb": {
"r": 111,
"g": 84,
"b": 190
},
"hsl": {
"h": 255.283,
"s": 44.915,
"l": 53.725
},
"oklch": {
"l": 0.52731,
"c": 0.15969,
"h": 291.7
},
"luminance": 0.13438
}Semantic roles & 50–950 ramp
primary
#6F54BE
secondary
#C2CEA0
accent
#D553B4
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83