#7951CA#7951CA
#7951CA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.180 H 294.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7951CA |
|---|---|
| RGB | rgb(121, 81, 202) |
| HSL | hsl(260, 53%, 55%) |
| HSV | hsv(260, 60%, 79%) |
| CMYK | cmyk(40.1%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.54, 43.64, -57.26) |
| CIE-LCH | lch(44.54, 72.00, 307.31°) |
| OKLab | oklab(54.04% 0.0757 -0.163) |
| OKLCH | oklch(54.04% 0.18 294.9) |
| XYZ | xyz(21.4854, 14.2136, 57.4772) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.08
Purpley
#8756E4
ΔE00 4.73
Iris
#6258C4
ΔE00 5.04
Royal Purple
#7851A9
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7951CA #A2CA51
analogous
#5165CA #7951CA #B651CA
triadic
#7951CA #CA7951 #51CA79
tetradic
#7951CA #CA5165 #A2CA51 #51CAB6
square
#7951CA #CA5165 #A2CA51 #51CAB6
split-complementary
#7951CA #CAB651 #65CA51
monochromatic
#42257B #5B34AA #7951CA #9D80D8 #C1AFE7
Accessibility & contrast
On white
5.46
#7951CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7951CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7951CA
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7951CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7951CA | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1367C7
Tritanopia (blue-blind)
#646C86
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7951ca; /* rgb */ color: rgb(121, 81, 202); /* oklch */ color: oklch(54.0% 0.180 294.9);
Tailwind
colors: {
custom: {
50: '#a583db',
500: '#7951ca',
950: '#000000',
},
}SCSS
$custom: #7951ca; $custom-light: #a583db; $custom-dark: #000000;
JSON
{
"hex": "#7951ca",
"rgb": {
"r": 121,
"g": 81,
"b": 202
},
"hsl": {
"h": 259.835,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.54042,
"c": 0.17975,
"h": 294.9
},
"luminance": 0.14214
}Semantic roles & 50–950 ramp
primary
#7951CA
secondary
#C4D5A2
accent
#DD4BAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83