#8258C7#8258C7
#8258C7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.167 H 298.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8258C7 |
|---|---|
| RGB | rgb(130, 88, 199) |
| HSL | hsl(263, 50%, 56%) |
| HSV | hsv(263, 56%, 78%) |
| CMYK | cmyk(34.7%, 55.8%, 0%, 22%) |
| CIE-LAB | lab(46.78, 41.00, -51.88) |
| CIE-LCH | lch(46.78, 66.13, 308.32°) |
| OKLab | oklab(55.84% 0.0791 -0.1469) |
| OKLCH | oklch(55.84% 0.167 298.3) |
| XYZ | xyz(23.0019, 15.8485, 55.8690) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 5.09
Royal Purple
#7851A9
ΔE00 5.48
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8258C7 #9DC758
analogous
#5866C7 #8258C7 #BA58C7
triadic
#8258C7 #C78258 #58C782
tetradic
#8258C7 #C75866 #9DC758 #58C7BA
square
#8258C7 #C75866 #9DC758 #58C7BA
split-complementary
#8258C7 #C7BA58 #66C758
monochromatic
#48297B #6339A9 #8258C7 #A486D6 #C7B4E6
Accessibility & contrast
On white
5.04
#8258C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#8258C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8258C7
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8258C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8258C7 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#356EC4
Tritanopia (blue-blind)
#736F87
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8258c7; /* rgb */ color: rgb(130, 88, 199); /* oklch */ color: oklch(55.8% 0.167 298.3);
Tailwind
colors: {
custom: {
50: '#aa88d9',
500: '#8258c7',
950: '#000000',
},
}SCSS
$custom: #8258c7; $custom-light: #aa88d9; $custom-dark: #000000;
JSON
{
"hex": "#8258c7",
"rgb": {
"r": 130,
"g": 88,
"b": 199
},
"hsl": {
"h": 262.703,
"s": 49.776,
"l": 56.275
},
"oklch": {
"l": 0.55838,
"c": 0.16685,
"h": 298.3
},
"luminance": 0.15849
}Semantic roles & 50–950 ramp
primary
#8258C7
secondary
#C3D4A7
accent
#D94FA5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B15
muted
#7F7C83