#B286F3#B286F3
#B286F3 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.159 H 301.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B286F3 |
|---|---|
| RGB | rgb(178, 134, 243) |
| HSL | hsl(264, 82%, 74%) |
| HSV | hsv(264, 45%, 95%) |
| CMYK | cmyk(26.7%, 44.9%, 0%, 4.7%) |
| CIE-LAB | lab(64.15, 38.54, -48.72) |
| CIE-LCH | lch(64.15, 62.12, 308.34°) |
| OKLab | oklab(70.66% 0.0822 -0.1365) |
| OKLCH | oklch(70.66% 0.159 301) |
| XYZ | xyz(43.0592, 32.9861, 88.8751) |
| Luminance | 0.3299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.65
Light Purple
#BF77F6
ΔE00 4.54
Easter Purple
#C071FE
ΔE00 5.77
Light Urple
#B36FF6
ΔE00 5.78
Baby Purple
#CA9BF7
ΔE00 6.71
Pastel Purple
#CAA0FF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B286F3 #C7F386
analogous
#8691F3 #B286F3 #E986F3
triadic
#B286F3 #F3B286 #86F3B2
tetradic
#B286F3 #F38691 #C7F386 #86F3E9
square
#B286F3 #F38691 #C7F386 #86F3E9
split-complementary
#B286F3 #F3E986 #91F386
monochromatic
#6B17E8 #8F4EED #B286F3 #D5BEF9 #EDE3FC
Accessibility & contrast
On white
2.76
#B286F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#B286F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B286F3
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B286F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B286F3 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#A699B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b286f3; /* rgb */ color: rgb(178, 134, 243); /* oklch */ color: oklch(70.7% 0.159 301.0);
Tailwind
colors: {
custom: {
50: '#cbaaf7',
500: '#b286f3',
950: '#000000',
},
}SCSS
$custom: #b286f3; $custom-light: #cbaaf7; $custom-dark: #000000;
JSON
{
"hex": "#b286f3",
"rgb": {
"r": 178,
"g": 134,
"b": 243
},
"hsl": {
"h": 264.22,
"s": 81.955,
"l": 73.922
},
"oklch": {
"l": 0.70661,
"c": 0.15929,
"h": 301
},
"luminance": 0.32986
}Semantic roles & 50–950 ramp
primary
#B286F3
secondary
#E8F4D7
accent
#DE0787
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85