#B253E2#B253E2
#B253E2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.217 H 312.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B253E2 |
|---|---|
| RGB | rgb(178, 83, 226) |
| HSL | hsl(280, 71%, 61%) |
| HSV | hsv(280, 63%, 89%) |
| CMYK | cmyk(21.2%, 63.3%, 0%, 11.4%) |
| CIE-LAB | lab(53.11, 61.12, -56.82) |
| CIE-LCH | lch(53.11, 83.45, 317.09°) |
| OKLab | oklab(62.22% 0.146 -0.16) |
| OKLCH | oklch(62.22% 0.217 312.4) |
| XYZ | xyz(35.1784, 21.1434, 74.1647) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.72
Mediumorchid
#BA55D3
ΔE00 3.26
Lighter Purple
#A55AF4
ΔE00 4.06
Bright Lilac
#C95EFB
ΔE00 5.94
Bright Lavender
#C760FF
ΔE00 6.26
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B253E2 #83E253
analogous
#6A53E2 #B253E2 #E253CA
triadic
#B253E2 #E2B253 #53E2B2
tetradic
#B253E2 #E26A53 #83E253 #53CAE2
square
#B253E2 #E26A53 #83E253 #53CAE2
split-complementary
#B253E2 #CAE253 #53E26A
monochromatic
#731BA0 #9924D4 #B253E2 #C987EB #E1BCF4
Accessibility & contrast
On white
4.02
#B253E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#B253E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B253E2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B253E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B253E2 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A7AE6
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#AD6F93
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #b253e2; /* rgb */ color: rgb(178, 83, 226); /* oklch */ color: oklch(62.2% 0.217 312.4);
Tailwind
colors: {
custom: {
50: '#cd89ec',
500: '#b253e2',
950: '#000000',
},
}SCSS
$custom: #b253e2; $custom-light: #cd89ec; $custom-dark: #000000;
JSON
{
"hex": "#b253e2",
"rgb": {
"r": 178,
"g": 83,
"b": 226
},
"hsl": {
"h": 279.86,
"s": 71.144,
"l": 60.588
},
"oklch": {
"l": 0.62221,
"c": 0.21658,
"h": 312.4
},
"luminance": 0.21142
}Semantic roles & 50–950 ramp
primary
#B253E2
secondary
#BFE4AD
accent
#D31253
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84