#7258C8#7258C8
#7258C8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.167 H 290.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7258C8 |
|---|---|
| RGB | rgb(114, 88, 200) |
| HSL | hsl(254, 50%, 56%) |
| HSV | hsv(254, 56%, 78%) |
| CMYK | cmyk(43%, 56%, 0%, 21.6%) |
| CIE-LAB | lab(45.26, 37.52, -54.98) |
| CIE-LCH | lch(45.26, 66.56, 304.31°) |
| OKLab | oklab(54.37% 0.0583 -0.1565) |
| OKLCH | oklch(54.37% 0.167 290.4) |
| XYZ | xyz(20.8516, 14.7263, 56.3762) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.69
Slate Blue
#6A5ACD
ΔE00 1.96
Iris
#6258C4
ΔE00 3.11
Dark Periwinkle
#665FD1
ΔE00 3.73
Purpley
#8756E4
ΔE00 5.36
Royal Purple
#7851A9
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7258C8 #AEC858
analogous
#5876C8 #7258C8 #AA58C8
triadic
#7258C8 #C87258 #58C872
tetradic
#7258C8 #C85876 #AEC858 #58C8AA
square
#7258C8 #C85876 #AEC858 #58C8AA
split-complementary
#7258C8 #C8AA58 #76C858
monochromatic
#3C297D #5338AB #7258C8 #9986D7 #C0B4E6
Accessibility & contrast
On white
5.32
#7258C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7258C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7258C8
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7258C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7258C8 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196DCC
Deuteranopia (green-blind)
#2069C6
Tritanopia (blue-blind)
#597087
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7258c8; /* rgb */ color: rgb(114, 88, 200); /* oklch */ color: oklch(54.4% 0.167 290.4);
Tailwind
colors: {
custom: {
50: '#a088d9',
500: '#7258c8',
950: '#000000',
},
}SCSS
$custom: #7258c8; $custom-light: #a088d9; $custom-dark: #000000;
JSON
{
"hex": "#7258c8",
"rgb": {
"r": 114,
"g": 88,
"b": 200
},
"hsl": {
"h": 253.929,
"s": 50.45,
"l": 56.471
},
"oklch": {
"l": 0.54366,
"c": 0.16704,
"h": 290.4
},
"luminance": 0.14727
}Semantic roles & 50–950 ramp
primary
#7258C8
secondary
#CAD5A7
accent
#DA4EB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83