#6F54CB#6F54CB
#6F54CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.177 H 289.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #6F54CB |
|---|---|
| RGB | rgb(111, 84, 203) |
| HSL | hsl(254, 53%, 56%) |
| HSV | hsv(254, 59%, 80%) |
| CMYK | cmyk(45.3%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.28, 40.05, -58.31) |
| CIE-LCH | lch(44.28, 70.74, 304.48°) |
| OKLab | oklab(53.64% 0.0591 -0.1664) |
| OKLCH | oklch(53.64% 0.177 289.5) |
| XYZ | xyz(20.5023, 14.0312, 58.1164) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.98
Slate Blue
#6A5ACD
ΔE00 2.15
Iris
#6258C4
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 4.09
Bluey Purple
#6241C7
ΔE00 5.45
Purpley
#8756E4
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F54CB #B0CB54
analogous
#5475CB #6F54CB #AA54CB
triadic
#6F54CB #CB6F54 #54CB6F
tetradic
#6F54CB #CB5475 #B0CB54 #54CBAA
square
#6F54CB #CB5475 #B0CB54 #54CBAA
split-complementary
#6F54CB #CBAA54 #75CB54
monochromatic
#3A267E #5035AD #6F54CB #9783D9 #BEB2E8
Accessibility & contrast
On white
5.52
#6F54CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#6F54CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F54CB
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F54CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F54CB | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#536F87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6f54cb; /* rgb */ color: rgb(111, 84, 203); /* oklch */ color: oklch(53.6% 0.177 289.5);
Tailwind
colors: {
custom: {
50: '#9f85dc',
500: '#6f54cb',
950: '#000000',
},
}SCSS
$custom: #6f54cb; $custom-light: #9f85dc; $custom-dark: #000000;
JSON
{
"hex": "#6f54cb",
"rgb": {
"r": 111,
"g": 84,
"b": 203
},
"hsl": {
"h": 253.613,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.53641,
"c": 0.17658,
"h": 289.5
},
"luminance": 0.14032
}Semantic roles & 50–950 ramp
primary
#6F54CB
secondary
#CBD6A5
accent
#DD4BBC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83