#B286E5#B286E5

#B286E5 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.142 H 304.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B286E5
RGBrgb(178, 134, 229)
HSLhsl(268, 65%, 71%)
HSVhsv(268, 41%, 90%)
CMYKcmyk(22.3%, 41.5%, 0%, 10.2%)
CIE-LABlab(63.49, 35.26, -42.03)
CIE-LCHlch(63.49, 54.86, 309.99°)
OKLaboklab(69.94% 0.0799 -0.1171)
OKLCHoklch(69.94% 0.142 304.3)
XYZxyz(41.0251, 32.1725, 78.1622)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286E5 #B9E586
analogous
#8689E5 #B286E5 #E186E5
triadic
#B286E5 #E5B286 #86E5B2
tetradic
#B286E5 #E58689 #B9E586 #86E5E1
square
#B286E5 #E58689 #B9E586 #86E5E1
split-complementary
#B286E5 #E5E186 #89E586
monochromatic
#732BC6 #9254DA #B286E5 #D2B8F0 #EFE6FA

Accessibility & contrast

On white

2.82
#B286E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B286E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286E5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286E5#FFFFFF#000000##000000
##B286E51.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E9
Deuteranopia (green-blind)
#799AE2
Tritanopia (blue-blind)
#AA95AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b286e5;
/* rgb */ color: rgb(178, 134, 229);
/* oklch */ color: oklch(69.9% 0.142 304.3);
Tailwind
colors: {
  custom: {
    50: '#cbaaed',
    500: '#b286e5',
    950: '#000000',
  },
}
SCSS
$custom: #b286e5;
$custom-light: #cbaaed;
$custom-dark: #000000;
JSON
{
  "hex": "#b286e5",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 267.789,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69944,
    "c": 0.14175,
    "h": 304.3
  },
  "luminance": 0.32172
}

Semantic roles & 50–950 ramp

primary
#B286E5
secondary
#E4F0D7
accent
#CC1979
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286E5

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

Preview Lab → · Contrast checker → · Palette generator →

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