#B286EC#B286EC

#B286EC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.151 H 302.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B286EC
RGBrgb(178, 134, 236)
HSLhsl(266, 73%, 73%)
HSVhsv(266, 43%, 93%)
CMYKcmyk(24.6%, 43.2%, 0%, 7.5%)
CIE-LABlab(63.81, 36.89, -45.39)
CIE-LCHlch(63.81, 58.49, 309.10°)
OKLaboklab(70.3% 0.0811 -0.1268)
OKLCHoklch(70.3% 0.151 302.6)
XYZxyz(42.0222, 32.5713, 83.4137)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286EC #C0EC86
analogous
#868DEC #B286EC #E586EC
triadic
#B286EC #ECB286 #86ECB2
tetradic
#B286EC #EC868D #C0EC86 #86ECE5
square
#B286EC #EC868D #C0EC86 #86ECE5
split-complementary
#B286EC #ECE586 #8DEC86
monochromatic
#6F22D6 #9051E4 #B286EC #D4BBF4 #EEE5FB

Accessibility & contrast

On white

2.79
#B286EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B286EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286EC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286EC#FFFFFF#000000##000000
##B286EC1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#A897AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b286ec;
/* rgb */ color: rgb(178, 134, 236);
/* oklch */ color: oklch(70.3% 0.151 302.6);
Tailwind
colors: {
  custom: {
    50: '#cbaaf2',
    500: '#b286ec',
    950: '#000000',
  },
}
SCSS
$custom: #b286ec;
$custom-light: #cbaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ec",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 265.882,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70297,
    "c": 0.15053,
    "h": 302.6
  },
  "luminance": 0.32571
}

Semantic roles & 50–950 ramp

primary
#B286EC
secondary
#E7F3D8
accent
#D51180
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B286EC

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

Preview Lab → · Contrast checker → · Palette generator →

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