#B289F2#B289F2
#B289F2 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.1% C 0.153 H 300.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B289F2 |
|---|---|
| RGB | rgb(178, 137, 242) |
| HSL | hsl(263, 80%, 74%) |
| HSV | hsv(263, 43%, 95%) |
| CMYK | cmyk(26.4%, 43.4%, 0%, 5.1%) |
| CIE-LAB | lab(64.78, 36.64, -47.18) |
| CIE-LCH | lch(64.78, 59.74, 307.83°) |
| OKLab | oklab(71.12% 0.078 -0.132) |
| OKLCH | oklch(71.12% 0.153 300.6) |
| XYZ | xyz(43.3291, 33.7669, 88.2221) |
| Luminance | 0.3377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.43
Light Purple
#BF77F6
ΔE00 5.27
Baby Purple
#CA9BF7
ΔE00 6.11
Easter Purple
#C071FE
ΔE00 6.55
Light Urple
#B36FF6
ΔE00 6.62
Pastel Purple
#CAA0FF
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B289F2 #C9F289
analogous
#8995F2 #B289F2 #E789F2
triadic
#B289F2 #F2B289 #89F2B2
tetradic
#B289F2 #F28995 #C9F289 #89F2E7
square
#B289F2 #F28995 #C9F289 #89F2E7
split-complementary
#B289F2 #F2E789 #95F289
monochromatic
#6A1BE6 #8E52EC #B289F2 #D6C0F8 #EDE3FC
Accessibility & contrast
On white
2.71
#B289F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#B289F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B289F2
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B289F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B289F2 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#A69BB2
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b289f2; /* rgb */ color: rgb(178, 137, 242); /* oklch */ color: oklch(71.1% 0.153 300.6);
Tailwind
colors: {
custom: {
50: '#cbacf7',
500: '#b289f2',
950: '#000000',
},
}SCSS
$custom: #b289f2; $custom-light: #cbacf7; $custom-dark: #000000;
JSON
{
"hex": "#b289f2",
"rgb": {
"r": 178,
"g": 137,
"b": 242
},
"hsl": {
"h": 263.429,
"s": 80.153,
"l": 74.314
},
"oklch": {
"l": 0.71117,
"c": 0.15331,
"h": 300.6
},
"luminance": 0.33767
}Semantic roles & 50–950 ramp
primary
#B289F2
secondary
#E9F4D7
accent
#DC098A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85