#6F52FC#6F52FC
#6F52FC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.239 H 283.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6F52FC |
|---|---|
| RGB | rgb(111, 82, 252) |
| HSL | hsl(250, 97%, 65%) |
| HSV | hsv(250, 67%, 99%) |
| CMYK | cmyk(56%, 67.5%, 0%, 1.2%) |
| CIE-LAB | lab(47.55, 55.33, -80.75) |
| CIE-LCH | lch(47.55, 97.89, 304.42°) |
| OKLab | oklab(57.17% 0.0564 -0.2324) |
| OKLCH | oklch(57.17% 0.239 283.6) |
| XYZ | xyz(27.1381, 16.4407, 93.8199) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.89
Purpleish Blue
#6140EF
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 6.05
Mediumslateblue
#7B68EE
ΔE00 6.17
Bluish Purple
#703BE7
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F52FC #DFFC52
analogous
#528AFC #6F52FC #C452FC
triadic
#6F52FC #FC6F52 #52FC6F
tetradic
#6F52FC #FC528A #DFFC52 #52FCC4
square
#6F52FC #FC528A #DFFC52 #52FCC4
split-complementary
#6F52FC #FCC452 #8AFC52
monochromatic
#2604D0 #3D16FB #6F52FC #A18EFD #D3CAFE
Accessibility & contrast
On white
4.90
#6F52FC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#6F52FC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F52FC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F52FC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F52FC | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006BF9
Tritanopia (blue-blind)
#267EA1
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6f52fc; /* rgb */ color: rgb(111, 82, 252); /* oklch */ color: oklch(57.2% 0.239 283.6);
Tailwind
colors: {
custom: {
50: '#a585ff',
500: '#6f52fc',
950: '#000000',
},
}SCSS
$custom: #6f52fc; $custom-light: #a585ff; $custom-dark: #000000;
JSON
{
"hex": "#6f52fc",
"rgb": {
"r": 111,
"g": 82,
"b": 252
},
"hsl": {
"h": 250.235,
"s": 96.591,
"l": 65.49
},
"oklch": {
"l": 0.57166,
"c": 0.2391,
"h": 283.6
},
"luminance": 0.16442
}Semantic roles & 50–950 ramp
primary
#6F52FC
secondary
#E8F1B8
accent
#E600BE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86