#7258CB#7258CB
#7258CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.171 H 290.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7258CB |
|---|---|
| RGB | rgb(114, 88, 203) |
| HSL | hsl(254, 53%, 57%) |
| HSV | hsv(254, 57%, 80%) |
| CMYK | cmyk(43.8%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.45, 38.37, -56.40) |
| CIE-LCH | lch(45.45, 68.21, 304.23°) |
| OKLab | oklab(54.57% 0.0584 -0.1607) |
| OKLCH | oklch(54.57% 0.171 290) |
| XYZ | xyz(21.2056, 14.8679, 58.2408) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.38
Slate Blue
#6A5ACD
ΔE00 1.77
Iris
#6258C4
ΔE00 3.17
Dark Periwinkle
#665FD1
ΔE00 3.53
Purpley
#8756E4
ΔE00 5.05
Royal Purple
#7851A9
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7258CB #B1CB58
analogous
#5878CB #7258CB #AB58CB
triadic
#7258CB #CB7258 #58CB72
tetradic
#7258CB #CB5878 #B1CB58 #58CBAB
square
#7258CB #CB5878 #B1CB58 #58CBAB
split-complementary
#7258CB #CBAB58 #78CB58
monochromatic
#3C2881 #5237AF #7258CB #9987DA #C1B5E8
Accessibility & contrast
On white
5.28
#7258CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7258CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7258CB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7258CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7258CB | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#587189
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7258cb; /* rgb */ color: rgb(114, 88, 203); /* oklch */ color: oklch(54.6% 0.171 290.0);
Tailwind
colors: {
custom: {
50: '#a088db',
500: '#7258cb',
950: '#000000',
},
}SCSS
$custom: #7258cb; $custom-light: #a088db; $custom-dark: #000000;
JSON
{
"hex": "#7258cb",
"rgb": {
"r": 114,
"g": 88,
"b": 203
},
"hsl": {
"h": 253.565,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.54573,
"c": 0.17096,
"h": 290
},
"luminance": 0.14869
}Semantic roles & 50–950 ramp
primary
#7258CB
secondary
#CCD7A8
accent
#DC4CBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83