#7952D7#7952D7
#7952D7 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.194 H 292.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7952D7 |
|---|---|
| RGB | rgb(121, 82, 215) |
| HSL | hsl(258, 62%, 58%) |
| HSV | hsv(258, 62%, 84%) |
| CMYK | cmyk(43.7%, 61.9%, 0%, 15.7%) |
| CIE-LAB | lab(45.64, 46.63, -62.94) |
| CIE-LCH | lch(45.64, 78.33, 306.53°) |
| OKLab | oklab(55.13% 0.0739 -0.1797) |
| OKLCH | oklch(55.13% 0.194 292.3) |
| XYZ | xyz(23.1648, 15.0051, 65.9526) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.31
Purpley
#8756E4
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 3.81
Iris
#6258C4
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.35
Bluish Purple
#703BE7
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952D7 #B0D752
analogous
#526DD7 #7952D7 #BB52D7
triadic
#7952D7 #D77952 #52D779
tetradic
#7952D7 #D7526D #B0D752 #52D7BB
square
#7952D7 #D7526D #B0D752 #52D7BB
split-complementary
#7952D7 #D7BB52 #6DD752
monochromatic
#41218E #572CC0 #7952D7 #A084E2 #C6B5EE
Accessibility & contrast
On white
5.25
#7952D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7952D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952D7
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952D7 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#5E718D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7952d7; /* rgb */ color: rgb(121, 82, 215); /* oklch */ color: oklch(55.1% 0.194 292.3);
Tailwind
colors: {
custom: {
50: '#a684e4',
500: '#7952d7',
950: '#000000',
},
}SCSS
$custom: #7952d7; $custom-light: #a684e4; $custom-dark: #000000;
JSON
{
"hex": "#7952d7",
"rgb": {
"r": 121,
"g": 82,
"b": 215
},
"hsl": {
"h": 257.594,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.5513,
"c": 0.19431,
"h": 292.3
},
"luminance": 0.15006
}Semantic roles & 50–950 ramp
primary
#7952D7
secondary
#CDDDA8
accent
#E642B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84