#7258CF#7258CF
#7258CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.176 H 289.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7258CF |
|---|---|
| RGB | rgb(114, 88, 207) |
| HSL | hsl(253, 55%, 58%) |
| HSV | hsv(253, 57%, 81%) |
| CMYK | cmyk(44.9%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(45.72, 39.52, -58.27) |
| CIE-LCH | lch(45.72, 70.40, 304.14°) |
| OKLab | oklab(54.85% 0.0583 -0.1662) |
| OKLCH | oklch(54.85% 0.176 289.3) |
| XYZ | xyz(21.6885, 15.0610, 60.7837) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.17
Slate Blue
#6A5ACD
ΔE00 1.69
Iris
#6258C4
ΔE00 3.34
Dark Periwinkle
#665FD1
ΔE00 3.35
Purpley
#8756E4
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7258CF #B5CF58
analogous
#5879CF #7258CF #AD58CF
triadic
#7258CF #CF7258 #58CF72
tetradic
#7258CF #CF5879 #B5CF58 #58CFAD
square
#7258CF #CF5879 #B5CF58 #58CFAD
split-complementary
#7258CF #CFAD58 #79CF58
monochromatic
#3B2786 #5034B6 #7258CF #9A88DD #C2B7EA
Accessibility & contrast
On white
5.23
#7258CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7258CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7258CF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7258CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7258CF | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#0C69CC
Tritanopia (blue-blind)
#56728B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7258cf; /* rgb */ color: rgb(114, 88, 207); /* oklch */ color: oklch(54.9% 0.176 289.3);
Tailwind
colors: {
custom: {
50: '#a188de',
500: '#7258cf',
950: '#000000',
},
}SCSS
$custom: #7258cf; $custom-light: #a188de; $custom-dark: #000000;
JSON
{
"hex": "#7258cf",
"rgb": {
"r": 114,
"g": 88,
"b": 207
},
"hsl": {
"h": 253.109,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.54853,
"c": 0.17614,
"h": 289.3
},
"luminance": 0.15062
}Semantic roles & 50–950 ramp
primary
#7258CF
secondary
#CFD9AA
accent
#DF49BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83