#B949E1#B949E1
#B949E1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.231 H 315.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B949E1 |
|---|---|
| RGB | rgb(185, 73, 225) |
| HSL | hsl(284, 72%, 58%) |
| HSV | hsv(284, 68%, 88%) |
| CMYK | cmyk(17.8%, 67.6%, 0%, 11.8%) |
| CIE-LAB | lab(52.42, 66.79, -57.31) |
| CIE-LCH | lch(52.42, 88.01, 319.37°) |
| OKLab | oklab(61.9% 0.1656 -0.1611) |
| OKLCH | oklch(61.9% 0.231 315.8) |
| XYZ | xyz(35.9786, 20.5170, 73.2845) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.16
Lightish Purple
#A552E6
ΔE00 3.83
Hot Purple
#CB00F5
ΔE00 5.04
Purple Pink
#D725DE
ΔE00 5.21
Lighter Purple
#A55AF4
ΔE00 5.57
Neon Purple
#BC13FE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B949E1 #71E149
analogous
#6D49E1 #B949E1 #E149BD
triadic
#B949E1 #E1B949 #49E1B9
tetradic
#B949E1 #E16D49 #71E149 #49BDE1
square
#B949E1 #E16D49 #71E149 #49BDE1
split-complementary
#B949E1 #BDE149 #49E16D
monochromatic
#761997 #9F22CB #B949E1 #CD7EEA #E1B2F2
Accessibility & contrast
On white
4.12
#B949E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#B949E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B949E1
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B949E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B949E1 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#4780DD
Tritanopia (blue-blind)
#B66790
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b949e1; /* rgb */ color: rgb(185, 73, 225); /* oklch */ color: oklch(61.9% 0.231 315.8);
Tailwind
colors: {
custom: {
50: '#d284eb',
500: '#b949e1',
950: '#000000',
},
}SCSS
$custom: #b949e1; $custom-light: #d284eb; $custom-dark: #000000;
JSON
{
"hex": "#b949e1",
"rgb": {
"r": 185,
"g": 73,
"b": 225
},
"hsl": {
"h": 284.211,
"s": 71.698,
"l": 58.431
},
"oklch": {
"l": 0.61901,
"c": 0.23103,
"h": 315.8
},
"luminance": 0.20516
}Semantic roles & 50–950 ramp
primary
#B949E1
secondary
#B5E1A5
accent
#EE3969
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84