#B286E8#B286E8

#B286E8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.146 H 303.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B286E8
RGBrgb(178, 134, 232)
HSLhsl(267, 68%, 72%)
HSVhsv(267, 42%, 91%)
CMYKcmyk(23.3%, 42.2%, 0%, 9%)
CIE-LABlab(63.62, 35.95, -43.48)
CIE-LCHlch(63.62, 56.42, 309.59°)
OKLaboklab(70.09% 0.0805 -0.1212)
OKLCHoklch(70.09% 0.146 303.6)
XYZxyz(41.4476, 32.3415, 80.3873)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286E8 #BCE886
analogous
#868BE8 #B286E8 #E386E8
triadic
#B286E8 #E8B286 #86E8B2
tetradic
#B286E8 #E8868B #BCE886 #86E8E3
square
#B286E8 #E8868B #BCE886 #86E8E3
split-complementary
#B286E8 #E8E386 #8BE886
monochromatic
#7127CD #9153DE #B286E8 #D3B9F2 #EFE5FA

Accessibility & contrast

On white

2.81
#B286E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B286E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286E8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286E8#FFFFFF#000000##000000
##B286E81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EC
Deuteranopia (green-blind)
#779AE5
Tritanopia (blue-blind)
#A996AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b286e8;
/* rgb */ color: rgb(178, 134, 232);
/* oklch */ color: oklch(70.1% 0.146 303.6);
Tailwind
colors: {
  custom: {
    50: '#cbaaef',
    500: '#b286e8',
    950: '#000000',
  },
}
SCSS
$custom: #b286e8;
$custom-light: #cbaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#b286e8",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 266.939,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70094,
    "c": 0.14551,
    "h": 303.6
  },
  "luminance": 0.32341
}

Semantic roles & 50–950 ramp

primary
#B286E8
secondary
#E6F1D8
accent
#D0167C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286E8

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

Preview Lab → · Contrast checker → · Palette generator →

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