#6F52F2#6F52F2
#6F52F2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.227 H 284.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6F52F2 |
|---|---|
| RGB | rgb(111, 82, 242) |
| HSL | hsl(251, 86%, 64%) |
| HSV | hsv(251, 66%, 95%) |
| CMYK | cmyk(54.1%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(46.74, 52.44, -76.48) |
| CIE-LCH | lch(46.74, 92.73, 304.44°) |
| OKLab | oklab(56.34% 0.0578 -0.2198) |
| OKLCH | oklch(56.34% 0.227 284.7) |
| XYZ | xyz(25.5950, 15.8234, 85.6927) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.45
Purpleish Blue
#6140EF
ΔE00 4.84
Light Indigo
#6D5ACF
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.31
Bluish Purple
#703BE7
ΔE00 5.63
Dark Periwinkle
#665FD1
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F52F2 #D5F252
analogous
#5285F2 #6F52F2 #BF52F2
triadic
#6F52F2 #F26F52 #52F26F
tetradic
#6F52F2 #F25285 #D5F252 #52F2BF
square
#6F52F2 #F25285 #D5F252 #52F2BF
split-complementary
#6F52F2 #F2BF52 #85F252
monochromatic
#2E0EBC #4019EE #6F52F2 #9E8BF6 #CEC4FB
Accessibility & contrast
On white
5.04
#6F52F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6F52F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F52F2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F52F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F52F2 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#347B9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6f52f2; /* rgb */ color: rgb(111, 82, 242); /* oklch */ color: oklch(56.3% 0.227 284.7);
Tailwind
colors: {
custom: {
50: '#a485f7',
500: '#6f52f2',
950: '#000000',
},
}SCSS
$custom: #6f52f2; $custom-light: #a485f7; $custom-dark: #000000;
JSON
{
"hex": "#6f52f2",
"rgb": {
"r": 111,
"g": 82,
"b": 242
},
"hsl": {
"h": 250.875,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.56338,
"c": 0.22729,
"h": 284.7
},
"luminance": 0.15825
}Semantic roles & 50–950 ramp
primary
#6F52F2
secondary
#E2ECB4
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85