#B286ED#B286ED

#B286ED is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.152 H 302.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B286ED
RGBrgb(178, 134, 237)
HSLhsl(266, 74%, 73%)
HSVhsv(266, 43%, 93%)
CMYKcmyk(24.9%, 43.5%, 0%, 7.1%)
CIE-LABlab(63.86, 37.12, -45.87)
CIE-LCHlch(63.86, 59.01, 308.98°)
OKLaboklab(70.35% 0.0813 -0.1282)
OKLCHoklch(70.35% 0.152 302.4)
XYZxyz(42.1679, 32.6296, 84.1810)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286ED #C1ED86
analogous
#868DED #B286ED #E586ED
triadic
#B286ED #EDB286 #86EDB2
tetradic
#B286ED #ED868D #C1ED86 #86EDE5
square
#B286ED #ED868D #C1ED86 #86EDE5
split-complementary
#B286ED #EDE586 #8DED86
monochromatic
#6F20D8 #9051E5 #B286ED #D4BBF5 #EEE4FB

Accessibility & contrast

On white

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

On black

7.53
#B286ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286ED
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286ED#FFFFFF#000000##000000
##B286ED1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#A898AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b286ed;
/* rgb */ color: rgb(178, 134, 237);
/* oklch */ color: oklch(70.3% 0.152 302.4);
Tailwind
colors: {
  custom: {
    50: '#cbaaf3',
    500: '#b286ed',
    950: '#000000',
  },
}
SCSS
$custom: #b286ed;
$custom-light: #cbaaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ed",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 265.631,
    "s": 74.101,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.15178,
    "h": 302.4
  },
  "luminance": 0.3263
}

Semantic roles & 50–950 ramp

primary
#B286ED
secondary
#E7F3D8
accent
#D60F81
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B286ED

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

Preview Lab → · Contrast checker → · Palette generator →

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