#7251CA#7251CA
#7251CA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.179 H 291.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7251CA |
|---|---|
| RGB | rgb(114, 81, 202) |
| HSL | hsl(256, 53%, 55%) |
| HSV | hsv(256, 60%, 79%) |
| CMYK | cmyk(43.6%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.84, 42.13, -58.43) |
| CIE-LCH | lch(43.84, 72.03, 305.79°) |
| OKLab | oklab(53.36% 0.0664 -0.1667) |
| OKLCH | oklch(53.36% 0.179 291.7) |
| XYZ | xyz(20.5396, 13.7259, 57.4328) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.22
Iris
#6258C4
ΔE00 3.91
Bluey Purple
#6241C7
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 5.16
Purpley
#8756E4
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7251CA #A9CA51
analogous
#516CCA #7251CA #AF51CA
triadic
#7251CA #CA7251 #51CA72
tetradic
#7251CA #CA516C #A9CA51 #51CAAF
square
#7251CA #CA516C #A9CA51 #51CAAF
split-complementary
#7251CA #CAAF51 #6CCA51
monochromatic
#3D257B #5434AA #7251CA #9880D8 #BEAFE7
Accessibility & contrast
On white
5.61
#7251CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7251CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7251CA
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7251CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7251CA | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#596C86
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7251ca; /* rgb */ color: rgb(114, 81, 202); /* oklch */ color: oklch(53.4% 0.179 291.7);
Tailwind
colors: {
custom: {
50: '#a083db',
500: '#7251ca',
950: '#000000',
},
}SCSS
$custom: #7251ca; $custom-light: #a083db; $custom-dark: #000000;
JSON
{
"hex": "#7251ca",
"rgb": {
"r": 114,
"g": 81,
"b": 202
},
"hsl": {
"h": 256.364,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.53365,
"c": 0.17943,
"h": 291.7
},
"luminance": 0.13727
}Semantic roles & 50–950 ramp
primary
#7251CA
secondary
#C7D5A2
accent
#DD4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83