#B286EF#B286EF

#B286EF is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.5% C 0.154 H 301.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B286EF
RGBrgb(178, 134, 239)
HSLhsl(265, 77%, 73%)
HSVhsv(265, 44%, 94%)
CMYKcmyk(25.5%, 43.9%, 0%, 6.3%)
CIE-LABlab(63.96, 37.59, -46.82)
CIE-LCHlch(63.96, 60.05, 308.76°)
OKLaboklab(70.45% 0.0816 -0.131)
OKLCHoklch(70.45% 0.154 301.9)
XYZxyz(42.4617, 32.7471, 85.7284)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286EF #C3EF86
analogous
#868EEF #B286EF #E686EF
triadic
#B286EF #EFB286 #86EFB2
tetradic
#B286EF #EF868E #C3EF86 #86EFE6
square
#B286EF #EF868E #C3EF86 #86EFE6
split-complementary
#B286EF #EFE686 #8EEF86
monochromatic
#6E1DDD #9050E8 #B286EF #D4BCF6 #EEE4FB

Accessibility & contrast

On white

2.78
#B286EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B286EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286EF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286EF#FFFFFF#000000##000000
##B286EF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#739BEC
Tritanopia (blue-blind)
#A798AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b286ef;
/* rgb */ color: rgb(178, 134, 239);
/* oklch */ color: oklch(70.5% 0.154 301.9);
Tailwind
colors: {
  custom: {
    50: '#cbaaf4',
    500: '#b286ef',
    950: '#000000',
  },
}
SCSS
$custom: #b286ef;
$custom-light: #cbaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ef",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 265.143,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70452,
    "c": 0.15429,
    "h": 301.9
  },
  "luminance": 0.32747
}

Semantic roles & 50–950 ramp

primary
#B286EF
secondary
#E8F3D8
accent
#D90D83
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B286EF

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

Preview Lab → · Contrast checker → · Palette generator →

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