#B286E4#B286E4

#B286E4 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.141 H 304.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B286E4
RGBrgb(178, 134, 228)
HSLhsl(268, 64%, 71%)
HSVhsv(268, 41%, 89%)
CMYKcmyk(21.9%, 41.2%, 0%, 10.6%)
CIE-LABlab(63.44, 35.03, -41.55)
CIE-LCHlch(63.44, 54.35, 310.13°)
OKLaboklab(69.89% 0.0798 -0.1157)
OKLCHoklch(69.89% 0.141 304.6)
XYZxyz(40.8859, 32.1168, 77.4290)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286E4 #B8E486
analogous
#8689E4 #B286E4 #E186E4
triadic
#B286E4 #E4B286 #86E4B2
tetradic
#B286E4 #E48689 #B8E486 #86E4E1
square
#B286E4 #E48689 #B8E486 #86E4E1
split-complementary
#B286E4 #E4E186 #89E486
monochromatic
#732CC4 #9254D9 #B286E4 #D2B8EF #EFE6F9

Accessibility & contrast

On white

2.83
#B286E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B286E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286E4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286E4#FFFFFF#000000##000000
##B286E41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#AA95AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b286e4;
/* rgb */ color: rgb(178, 134, 228);
/* oklch */ color: oklch(69.9% 0.141 304.6);
Tailwind
colors: {
  custom: {
    50: '#cbaaed',
    500: '#b286e4',
    950: '#000000',
  },
}
SCSS
$custom: #b286e4;
$custom-light: #cbaaed;
$custom-dark: #000000;
JSON
{
  "hex": "#b286e4",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 228
  },
  "hsl": {
    "h": 268.085,
    "s": 63.514,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69894,
    "c": 0.14051,
    "h": 304.6
  },
  "luminance": 0.32117
}

Semantic roles & 50–950 ramp

primary
#B286E4
secondary
#E4EFD6
accent
#CB1A78
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286E4

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

Preview Lab → · Contrast checker → · Palette generator →

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