#B874F9#B874F9
#B874F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.196 H 305.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B874F9 |
|---|---|
| RGB | rgb(184, 116, 249) |
| HSL | hsl(271, 92%, 72%) |
| HSV | hsv(271, 53%, 98%) |
| CMYK | cmyk(26.1%, 53.4%, 0%, 2.4%) |
| CIE-LAB | lab(61.24, 51.23, -56.61) |
| CIE-LCH | lch(61.24, 76.35, 312.14°) |
| OKLab | oklab(68.74% 0.1135 -0.1593) |
| OKLCH | oklch(68.74% 0.196 305.5) |
| XYZ | xyz(43.1078, 29.5210, 93.0313) |
| Luminance | 0.2952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.50
Light Urple
#B36FF6
ΔE00 1.53
Light Purple
#BF77F6
ΔE00 1.72
Bright Lavender
#C760FF
ΔE00 4.40
Bright Lilac
#C95EFB
ΔE00 4.90
Liliac
#C48EFD
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B874F9 #B5F974
analogous
#7674F9 #B874F9 #F974F7
triadic
#B874F9 #F9B874 #74F9B8
tetradic
#B874F9 #F97674 #B5F974 #74F7F9
square
#B874F9 #F97674 #B5F974 #74F7F9
split-complementary
#B874F9 #F7F974 #74F976
monochromatic
#7C0AE9 #9A39F6 #B874F9 #D6AFFC #F0E2FE
Accessibility & contrast
On white
3.04
#B874F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#B874F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B874F9
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B874F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B874F9 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#AD8DAC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b874f9; /* rgb */ color: rgb(184, 116, 249); /* oklch */ color: oklch(68.7% 0.196 305.5);
Tailwind
colors: {
custom: {
50: '#d09efc',
500: '#b874f9',
950: '#000000',
},
}SCSS
$custom: #b874f9; $custom-light: #d09efc; $custom-dark: #000000;
JSON
{
"hex": "#b874f9",
"rgb": {
"r": 184,
"g": 116,
"b": 249
},
"hsl": {
"h": 270.677,
"s": 91.724,
"l": 71.569
},
"oklch": {
"l": 0.68735,
"c": 0.19558,
"h": 305.5
},
"luminance": 0.29521
}Semantic roles & 50–950 ramp
primary
#B874F9
secondary
#E4F5D3
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85