#B286CD#B286CD

#B286CD is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.8% C 0.112 H 312.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B286CD
RGBrgb(178, 134, 205)
HSLhsl(277, 42%, 66%)
HSVhsv(277, 35%, 80%)
CMYKcmyk(13.2%, 34.6%, 0%, 19.6%)
CIE-LABlab(62.44, 29.91, -30.27)
CIE-LCHlch(62.44, 42.56, 314.66°)
OKLaboklab(68.81% 0.0749 -0.0832)
OKLCHoklch(68.81% 0.112 312)
XYZxyz(37.9028, 30.9235, 61.7179)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286CD #A1CD86
analogous
#8F86CD #B286CD #CD86C5
triadic
#B286CD #CDB286 #86CDB2
tetradic
#B286CD #CD8F86 #A1CD86 #86C5CD
square
#B286CD #CD8F86 #A1CD86 #86C5CD
split-complementary
#B286CD #C5CD86 #86CD8F
monochromatic
#773F99 #965BBB #B286CD #CEB1DF #E9DDF1

Accessibility & contrast

On white

2.92
#B286CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B286CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286CD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286CD#FFFFFF#000000##000000
##B286CD1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#B090A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b286cd;
/* rgb */ color: rgb(178, 134, 205);
/* oklch */ color: oklch(68.8% 0.112 312.0);
Tailwind
colors: {
  custom: {
    50: '#caa9dc',
    500: '#b286cd',
    950: '#000000',
  },
}
SCSS
$custom: #b286cd;
$custom-light: #caa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b286cd",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 277.183,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.11199,
    "h": 312
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#B286CD
secondary
#D5E3CC
accent
#B53163
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B286CD

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

Preview Lab → · Contrast checker → · Palette generator →

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