#7251CF#7251CF
#7251CF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.186 H 290.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7251CF |
|---|---|
| RGB | rgb(114, 81, 207) |
| HSL | hsl(256, 57%, 56%) |
| HSV | hsv(256, 61%, 81%) |
| CMYK | cmyk(44.9%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(44.18, 43.53, -60.75) |
| CIE-LCH | lch(44.18, 74.73, 305.62°) |
| OKLab | oklab(53.73% 0.0662 -0.1735) |
| OKLCH | oklch(53.73% 0.186 290.9) |
| XYZ | xyz(21.1412, 13.9665, 60.6013) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.82
Slate Blue
#6A5ACD
ΔE00 3.10
Iris
#6258C4
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 4.95
Purpley
#8756E4
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7251CF #AECF51
analogous
#516FCF #7251CF #B151CF
triadic
#7251CF #CF7251 #51CF72
tetradic
#7251CF #CF516F #AECF51 #51CFB1
square
#7251CF #CF516F #AECF51 #51CFB1
split-complementary
#7251CF #CFB151 #6FCF51
monochromatic
#3C2482 #5331B2 #7251CF #9981DC #C0B1E9
Accessibility & contrast
On white
5.54
#7251CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7251CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7251CF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7251CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7251CF | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#566E88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7251cf; /* rgb */ color: rgb(114, 81, 207); /* oklch */ color: oklch(53.7% 0.186 290.9);
Tailwind
colors: {
custom: {
50: '#a183de',
500: '#7251cf',
950: '#000000',
},
}SCSS
$custom: #7251cf; $custom-light: #a183de; $custom-dark: #000000;
JSON
{
"hex": "#7251cf",
"rgb": {
"r": 114,
"g": 81,
"b": 207
},
"hsl": {
"h": 255.714,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.53729,
"c": 0.18569,
"h": 290.9
},
"luminance": 0.13967
}Semantic roles & 50–950 ramp
primary
#7251CF
secondary
#CAD8A4
accent
#E048B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83