#B286EA#B286EA

#B286EA is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.2% C 0.148 H 303.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B286EA
RGBrgb(178, 134, 234)
HSLhsl(266, 70%, 72%)
HSVhsv(266, 43%, 92%)
CMYKcmyk(23.9%, 42.7%, 0%, 8.2%)
CIE-LABlab(63.72, 36.42, -44.44)
CIE-LCHlch(63.72, 57.46, 309.34°)
OKLaboklab(70.19% 0.0808 -0.124)
OKLCHoklch(70.19% 0.148 303.1)
XYZxyz(41.7333, 32.4557, 81.8919)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286EA #BEEA86
analogous
#868CEA #B286EA #E486EA
triadic
#B286EA #EAB286 #86EAB2
tetradic
#B286EA #EA868C #BEEA86 #86EAE4
square
#B286EA #EA868C #BEEA86 #86EAE4
split-complementary
#B286EA #EAE486 #8CEA86
monochromatic
#7024D1 #9152E1 #B286EA #D3BAF3 #EEE5FA

Accessibility & contrast

On white

2.80
#B286EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B286EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286EA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286EA#FFFFFF#000000##000000
##B286EA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#A897AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b286ea;
/* rgb */ color: rgb(178, 134, 234);
/* oklch */ color: oklch(70.2% 0.148 303.1);
Tailwind
colors: {
  custom: {
    50: '#cbaaf1',
    500: '#b286ea',
    950: '#000000',
  },
}
SCSS
$custom: #b286ea;
$custom-light: #cbaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ea",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 266.4,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70195,
    "c": 0.14803,
    "h": 303.1
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

primary
#B286EA
secondary
#E7F2D9
accent
#D2137E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B286EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B286EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva