#B286DB#B286DB

#B286DB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.129 H 307.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B286DB
RGBrgb(178, 134, 219)
HSLhsl(271, 54%, 69%)
HSVhsv(271, 39%, 86%)
CMYKcmyk(18.7%, 38.8%, 0%, 14.1%)
CIE-LABlab(63.04, 32.99, -37.18)
CIE-LCHlch(63.04, 49.70, 311.58°)
OKLaboklab(69.46% 0.078 -0.103)
OKLCHoklch(69.46% 0.129 307.1)
XYZxyz(39.6689, 31.6300, 71.0195)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286DB #AFDB86
analogous
#8886DB #B286DB #DB86DA
triadic
#B286DB #DBB286 #86DBB2
tetradic
#B286DB #DB8886 #AFDB86 #86DADB
square
#B286DB #DB8886 #AFDB86 #86DADB
split-complementary
#B286DB #DADB86 #86DB88
monochromatic
#7635B2 #9457CD #B286DB #D0B5E9 #EEE4F7

Accessibility & contrast

On white

2.87
#B286DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B286DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286DB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286DB#FFFFFF#000000##000000
##B286DB1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#AC93A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b286db;
/* rgb */ color: rgb(178, 134, 219);
/* oklch */ color: oklch(69.5% 0.129 307.1);
Tailwind
colors: {
  custom: {
    50: '#caaae6',
    500: '#b286db',
    950: '#000000',
  },
}
SCSS
$custom: #b286db;
$custom-light: #caaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b286db",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 271.059,
    "s": 54.14,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.12927,
    "h": 307.1
  },
  "luminance": 0.3163
}

Semantic roles & 50–950 ramp

primary
#B286DB
secondary
#DEEBD2
accent
#C22470
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286DB

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

Preview Lab → · Contrast checker → · Palette generator →

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