#B286EE#B286EE

#B286EE is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.4% C 0.153 H 302.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B286EE
RGBrgb(178, 134, 238)
HSLhsl(265, 75%, 73%)
HSVhsv(265, 44%, 93%)
CMYKcmyk(25.2%, 43.7%, 0%, 6.7%)
CIE-LABlab(63.91, 37.36, -46.35)
CIE-LCHlch(63.91, 59.53, 308.87°)
OKLaboklab(70.4% 0.0814 -0.1296)
OKLCHoklch(70.4% 0.153 302.1)
XYZxyz(42.3144, 32.6882, 84.9526)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286EE #C2EE86
analogous
#868EEE #B286EE #E686EE
triadic
#B286EE #EEB286 #86EEB2
tetradic
#B286EE #EE868E #C2EE86 #86EEE6
square
#B286EE #EE868E #C2EE86 #86EEE6
split-complementary
#B286EE #EEE686 #8EEE86
monochromatic
#6E1FDB #9050E6 #B286EE #D4BCF6 #EEE4FB

Accessibility & contrast

On white

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

On black

7.54
#B286EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286EE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286EE#FFFFFF#000000##000000
##B286EE1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#749BEB
Tritanopia (blue-blind)
#A798AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b286ee;
/* rgb */ color: rgb(178, 134, 238);
/* oklch */ color: oklch(70.4% 0.153 302.1);
Tailwind
colors: {
  custom: {
    50: '#cbaaf4',
    500: '#b286ee',
    950: '#000000',
  },
}
SCSS
$custom: #b286ee;
$custom-light: #cbaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ee",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 265.385,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.704,
    "c": 0.15303,
    "h": 302.1
  },
  "luminance": 0.32688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B286EE

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

Preview Lab → · Contrast checker → · Palette generator →

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