#B286DC#B286DC

#B286DC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.5% C 0.131 H 306.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B286DC
RGBrgb(178, 134, 220)
HSLhsl(271, 55%, 69%)
HSVhsv(271, 39%, 86%)
CMYKcmyk(19.1%, 39.1%, 0%, 13.7%)
CIE-LABlab(63.08, 33.21, -37.67)
CIE-LCHlch(63.08, 50.22, 311.40°)
OKLaboklab(69.51% 0.0782 -0.1044)
OKLCHoklch(69.51% 0.131 306.8)
XYZxyz(39.8009, 31.6828, 71.7149)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286DC #B0DC86
analogous
#8786DC #B286DC #DC86DB
triadic
#B286DC #DCB286 #86DCB2
tetradic
#B286DC #DC8786 #B0DC86 #86DBDC
square
#B286DC #DC8786 #B0DC86 #86DBDC
split-complementary
#B286DC #DBDC86 #86DC87
monochromatic
#7534B4 #9457CE #B286DC #D0B5EA #EEE5F7

Accessibility & contrast

On white

2.86
#B286DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B286DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286DC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286DC#FFFFFF#000000##000000
##B286DC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#AC93A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b286dc;
/* rgb */ color: rgb(178, 134, 220);
/* oklch */ color: oklch(69.5% 0.131 306.8);
Tailwind
colors: {
  custom: {
    50: '#caaae7',
    500: '#b286dc',
    950: '#000000',
  },
}
SCSS
$custom: #b286dc;
$custom-light: #caaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b286dc",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 270.698,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.1305,
    "h": 306.8
  },
  "luminance": 0.31682
}

Semantic roles & 50–950 ramp

primary
#B286DC
secondary
#DFEBD3
accent
#C32371
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286DC

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

Preview Lab → · Contrast checker → · Palette generator →

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