#6D52EF#6D52EF
#6D52EF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.224 H 284.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6D52EF |
|---|---|
| RGB | rgb(109, 82, 239) |
| HSL | hsl(250, 83%, 63%) |
| HSV | hsv(250, 66%, 94%) |
| CMYK | cmyk(54.4%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(46.33, 51.25, -75.47) |
| CIE-LCH | lch(46.33, 91.22, 304.18°) |
| OKLab | oklab(55.93% 0.0556 -0.2169) |
| OKLCH | oklch(55.93% 0.224 284.4) |
| XYZ | xyz(24.8992, 15.5163, 83.3275) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.62
Purpley
#8756E4
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 5.40
Bluish Purple
#703BE7
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D52EF #D4EF52
analogous
#5286EF #6D52EF #BB52EF
triadic
#6D52EF #EF6D52 #52EF6D
tetradic
#6D52EF #EF5286 #D4EF52 #52EFBB
square
#6D52EF #EF5286 #D4EF52 #52EFBB
split-complementary
#6D52EF #EFBB52 #86EF52
monochromatic
#2D11B6 #3E1AEA #6D52EF #9C8AF4 #CCC2F9
Accessibility & contrast
On white
5.12
#6D52EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6D52EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D52EF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D52EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D52EF | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#317A9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6d52ef; /* rgb */ color: rgb(109, 82, 239); /* oklch */ color: oklch(55.9% 0.224 284.4);
Tailwind
colors: {
custom: {
50: '#a284f5',
500: '#6d52ef',
950: '#000000',
},
}SCSS
$custom: #6d52ef; $custom-light: #a284f5; $custom-dark: #000000;
JSON
{
"hex": "#6d52ef",
"rgb": {
"r": 109,
"g": 82,
"b": 239
},
"hsl": {
"h": 250.318,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.55928,
"c": 0.22393,
"h": 284.4
},
"luminance": 0.15518
}Semantic roles & 50–950 ramp
primary
#6D52EF
secondary
#E1EBB2
accent
#DF06BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85