#B286EB#B286EB

#B286EB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.2% C 0.149 H 302.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B286EB
RGBrgb(178, 134, 235)
HSLhsl(266, 72%, 72%)
HSVhsv(266, 43%, 92%)
CMYKcmyk(24.3%, 43%, 0%, 7.8%)
CIE-LABlab(63.77, 36.65, -44.92)
CIE-LCHlch(63.77, 57.97, 309.21°)
OKLaboklab(70.25% 0.081 -0.1254)
OKLCHoklch(70.25% 0.149 302.8)
XYZxyz(41.8773, 32.5134, 82.6507)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286EB #BFEB86
analogous
#868CEB #B286EB #E586EB
triadic
#B286EB #EBB286 #86EBB2
tetradic
#B286EB #EB868C #BFEB86 #86EBE5
square
#B286EB #EB868C #BFEB86 #86EBE5
split-complementary
#B286EB #EBE586 #8CEB86
monochromatic
#7023D4 #9151E2 #B286EB #D3BBF4 #EEE5FB

Accessibility & contrast

On white

2.80
#B286EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B286EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286EB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286EB#FFFFFF#000000##000000
##B286EB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#A897AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b286eb;
/* rgb */ color: rgb(178, 134, 235);
/* oklch */ color: oklch(70.2% 0.149 302.8);
Tailwind
colors: {
  custom: {
    50: '#cbaaf2',
    500: '#b286eb',
    950: '#000000',
  },
}
SCSS
$custom: #b286eb;
$custom-light: #cbaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b286eb",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 266.139,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.14927,
    "h": 302.8
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#B286EB
secondary
#E7F2D9
accent
#D4127F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B286EB

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

Preview Lab → · Contrast checker → · Palette generator →

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