#B286CB#B286CB

#B286CB is a light, moderate violet. Relative luminance 0.308; OKLCH L 68.7% C 0.110 H 312.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B286CB
RGBrgb(178, 134, 203)
HSLhsl(278, 40%, 66%)
HSVhsv(278, 34%, 80%)
CMYKcmyk(12.3%, 34%, 0%, 20.4%)
CIE-LABlab(62.36, 29.48, -29.27)
CIE-LCHlch(62.36, 41.55, 315.20°)
OKLaboklab(68.73% 0.0744 -0.0804)
OKLCHoklch(68.73% 0.11 312.8)
XYZxyz(37.6629, 30.8276, 60.4546)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286CB #9FCB86
analogous
#8F86CB #B286CB #CB86C1
triadic
#B286CB #CBB286 #86CBB2
tetradic
#B286CB #CB8F86 #9FCB86 #86C1CB
square
#B286CB #CB8F86 #9FCB86 #86C1CB
split-complementary
#B286CB #C1CB86 #86CB8F
monochromatic
#774196 #975BB9 #B286CB #CDB1DD #E8DCF0

Accessibility & contrast

On white

2.93
#B286CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B286CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286CB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286CB#FFFFFF#000000##000000
##B286CB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CE
Deuteranopia (green-blind)
#8498C9
Tritanopia (blue-blind)
#B08F9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b286cb;
/* rgb */ color: rgb(178, 134, 203);
/* oklch */ color: oklch(68.7% 0.110 312.8);
Tailwind
colors: {
  custom: {
    50: '#caa9db',
    500: '#b286cb',
    950: '#000000',
  },
}
SCSS
$custom: #b286cb;
$custom-light: #caa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#b286cb",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 278.261,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.10956,
    "h": 312.8
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#B286CB
secondary
#D3E2CB
accent
#B33361
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B286CB

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

Preview Lab → · Contrast checker → · Palette generator →

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