#8248CB#8248CB
#8248CB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.194 H 300.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8248CB |
|---|---|
| RGB | rgb(130, 72, 203) |
| HSL | hsl(267, 56%, 54%) |
| HSV | hsv(267, 65%, 80%) |
| CMYK | cmyk(36%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(43.79, 50.68, -59.00) |
| CIE-LCH | lch(43.79, 77.78, 310.66°) |
| OKLab | oklab(53.74% 0.098 -0.1678) |
| OKLCH | oklch(53.74% 0.194 300.3) |
| XYZ | xyz(22.3001, 13.6922, 57.9563) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.12
Blueviolet
#8A2BE2
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.42
Bluish Purple
#703BE7
ΔE00 5.50
Bluey Purple
#6241C7
ΔE00 5.95
Royal Purple
#7851A9
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8248CB #91CB48
analogous
#4850CB #8248CB #C448CB
triadic
#8248CB #CB8248 #48CB82
tetradic
#8248CB #CB4850 #91CB48 #48CBC4
square
#8248CB #CB4850 #91CB48 #48CBC4
split-complementary
#8248CB #CBC448 #50CB48
monochromatic
#472277 #642FA6 #8248CB #A378D9 #C3A7E6
Accessibility & contrast
On white
5.62
#8248CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8248CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8248CB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8248CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8248CB | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0567C8
Tritanopia (blue-blind)
#726583
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8248cb; /* rgb */ color: rgb(130, 72, 203); /* oklch */ color: oklch(53.7% 0.194 300.3);
Tailwind
colors: {
custom: {
50: '#ab7edc',
500: '#8248cb',
950: '#000000',
},
}SCSS
$custom: #8248cb; $custom-light: #ab7edc; $custom-dark: #000000;
JSON
{
"hex": "#8248cb",
"rgb": {
"r": 130,
"g": 72,
"b": 203
},
"hsl": {
"h": 266.565,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.53743,
"c": 0.19433,
"h": 300.3
},
"luminance": 0.13692
}Semantic roles & 50–950 ramp
primary
#8248CB
secondary
#BBD39B
accent
#DF499D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83