#6F4DF2#6F4DF2
#6F4DF2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.233 H 285.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4DF2 |
|---|---|
| RGB | rgb(111, 77, 242) |
| HSL | hsl(252, 86%, 63%) |
| HSV | hsv(252, 68%, 95%) |
| CMYK | cmyk(54.1%, 68.2%, 0%, 5.1%) |
| CIE-LAB | lab(45.77, 55.11, -78.07) |
| CIE-LCH | lch(45.77, 95.56, 305.22°) |
| OKLab | oklab(55.64% 0.062 -0.2245) |
| OKLCH | oklch(55.64% 0.233 285.4) |
| XYZ | xyz(25.2316, 15.0967, 85.5716) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.75
Bluish Purple
#703BE7
ΔE00 4.44
Purpley
#8756E4
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.76
Purpley Blue
#5F34E7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4DF2 #D0F24D
analogous
#4D7DF2 #6F4DF2 #C24DF2
triadic
#6F4DF2 #F26F4D #4DF26F
tetradic
#6F4DF2 #F24D7D #D0F24D #4DF2C2
square
#6F4DF2 #F24D7D #D0F24D #4DF2C2
split-complementary
#6F4DF2 #F2C24D #7DF24D
monochromatic
#300DB7 #4114EE #6F4DF2 #9D86F6 #CBBFFA
Accessibility & contrast
On white
5.22
#6F4DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6F4DF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F4DF2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4DF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4DF2 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#35789A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6f4df2; /* rgb */ color: rgb(111, 77, 242); /* oklch */ color: oklch(55.6% 0.233 285.4);
Tailwind
colors: {
custom: {
50: '#a481f8',
500: '#6f4df2',
950: '#000000',
},
}SCSS
$custom: #6f4df2; $custom-light: #a481f8; $custom-dark: #000000;
JSON
{
"hex": "#6f4df2",
"rgb": {
"r": 111,
"g": 77,
"b": 242
},
"hsl": {
"h": 252.364,
"s": 86.387,
"l": 62.549
},
"oklch": {
"l": 0.55638,
"c": 0.23291,
"h": 285.4
},
"luminance": 0.15098
}Semantic roles & 50–950 ramp
primary
#6F4DF2
secondary
#DFEBAF
accent
#E303B5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85