#7251C8#7251C8
#7251C8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.177 H 292.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7251C8 |
|---|---|
| RGB | rgb(114, 81, 200) |
| HSL | hsl(257, 52%, 55%) |
| HSV | hsv(257, 60%, 78%) |
| CMYK | cmyk(43%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.70, 41.57, -57.49) |
| CIE-LCH | lch(43.70, 70.95, 305.87°) |
| OKLab | oklab(53.22% 0.0665 -0.1639) |
| OKLCH | oklch(53.22% 0.177 292.1) |
| XYZ | xyz(20.3043, 13.6318, 56.1938) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 3.31
Iris
#6258C4
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7251C8 #A7C851
analogous
#516BC8 #7251C8 #AE51C8
triadic
#7251C8 #C87251 #51C872
tetradic
#7251C8 #C8516B #A7C851 #51C8AE
square
#7251C8 #C8516B #A7C851 #51C8AE
split-complementary
#7251C8 #C8AE51 #6BC851
monochromatic
#3D2679 #5435A7 #7251C8 #9880D7 #BDAEE5
Accessibility & contrast
On white
5.64
#7251C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#7251C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7251C8
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7251C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7251C8 | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#5A6C85
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7251c8; /* rgb */ color: rgb(114, 81, 200); /* oklch */ color: oklch(53.2% 0.177 292.1);
Tailwind
colors: {
custom: {
50: '#a083d9',
500: '#7251c8',
950: '#000000',
},
}SCSS
$custom: #7251c8; $custom-light: #a083d9; $custom-dark: #000000;
JSON
{
"hex": "#7251c8",
"rgb": {
"r": 114,
"g": 81,
"b": 200
},
"hsl": {
"h": 256.639,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.53221,
"c": 0.1769,
"h": 292.1
},
"luminance": 0.13632
}Semantic roles & 50–950 ramp
primary
#7251C8
secondary
#C6D3A1
accent
#DB4CB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83