#6F45CE#6F45CE
#6F45CE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.200 H 292.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6F45CE |
|---|---|
| RGB | rgb(111, 69, 206) |
| HSL | hsl(258, 58%, 54%) |
| HSV | hsv(258, 67%, 81%) |
| CMYK | cmyk(46.1%, 66.5%, 0%, 19.2%) |
| CIE-LAB | lab(41.36, 49.26, -64.77) |
| CIE-LCH | lch(41.36, 81.37, 307.25°) |
| OKLab | oklab(51.59% 0.0748 -0.1854) |
| OKLCH | oklch(51.59% 0.2 292) |
| XYZ | xyz(19.8211, 12.0913, 59.6701) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.56
Bluish Purple
#703BE7
ΔE00 3.52
Burple
#6832E3
ΔE00 4.42
Purpleish Blue
#6140EF
ΔE00 4.58
Purpley Blue
#5F34E7
ΔE00 4.89
Blurple
#5539CC
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F45CE #A4CE45
analogous
#4560CE #6F45CE #B445CE
triadic
#6F45CE #CE6F45 #45CE6F
tetradic
#6F45CE #CE4560 #A4CE45 #45CEB4
square
#6F45CE #CE4560 #A4CE45 #45CEB4
split-complementary
#6F45CE #CEB445 #60CE45
monochromatic
#3B2079 #532DA9 #6F45CE #9575DB #BAA6E8
Accessibility & contrast
On white
6.14
#6F45CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#6F45CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F45CE
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F45CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F45CE | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#526684
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f45ce; /* rgb */ color: rgb(111, 69, 206); /* oklch */ color: oklch(51.6% 0.200 292.0);
Tailwind
colors: {
custom: {
50: '#a07bde',
500: '#6f45ce',
950: '#000000',
},
}SCSS
$custom: #6f45ce; $custom-light: #a07bde; $custom-dark: #000000;
JSON
{
"hex": "#6f45ce",
"rgb": {
"r": 111,
"g": 69,
"b": 206
},
"hsl": {
"h": 258.394,
"s": 58.298,
"l": 53.922
},
"oklch": {
"l": 0.5159,
"c": 0.19994,
"h": 292
},
"luminance": 0.12092
}Semantic roles & 50–950 ramp
primary
#6F45CE
secondary
#C3D59A
accent
#E246B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83