#6F52CF#6F52CF
#6F52CF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.184 H 289.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #6F52CF |
|---|---|
| RGB | rgb(111, 82, 207) |
| HSL | hsl(254, 57%, 57%) |
| HSV | hsv(254, 60%, 81%) |
| CMYK | cmyk(46.4%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.12, 42.34, -60.87) |
| CIE-LCH | lch(44.12, 74.15, 304.82°) |
| OKLab | oklab(53.61% 0.0611 -0.174) |
| OKLCH | oklch(53.61% 0.184 289.4) |
| XYZ | xyz(20.8321, 13.9183, 60.6082) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.39
Slate Blue
#6A5ACD
ΔE00 2.60
Iris
#6258C4
ΔE00 3.47
Dark Periwinkle
#665FD1
ΔE00 4.45
Bluey Purple
#6241C7
ΔE00 5.05
Purpley
#8756E4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F52CF #B2CF52
analogous
#5274CF #6F52CF #AE52CF
triadic
#6F52CF #CF6F52 #52CF6F
tetradic
#6F52CF #CF5274 #B2CF52 #52CFAE
square
#6F52CF #CF5274 #B2CF52 #52CFAE
split-complementary
#6F52CF #CFAE52 #74CF52
monochromatic
#3A2482 #4F31B2 #6F52CF #9782DC #BFB2EA
Accessibility & contrast
On white
5.55
#6F52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#6F52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F52CF
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F52CF | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#516F89
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6f52cf; /* rgb */ color: rgb(111, 82, 207); /* oklch */ color: oklch(53.6% 0.184 289.4);
Tailwind
colors: {
custom: {
50: '#9f84de',
500: '#6f52cf',
950: '#000000',
},
}SCSS
$custom: #6f52cf; $custom-light: #9f84de; $custom-dark: #000000;
JSON
{
"hex": "#6f52cf",
"rgb": {
"r": 111,
"g": 82,
"b": 207
},
"hsl": {
"h": 253.92,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.5361,
"c": 0.18438,
"h": 289.4
},
"luminance": 0.13919
}Semantic roles & 50–950 ramp
primary
#6F52CF
secondary
#CCD8A5
accent
#E048BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83