#B286CA#B286CA

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

Color values

HEX#B286CA
RGBrgb(178, 134, 202)
HSLhsl(279, 39%, 66%)
HSVhsv(279, 34%, 79%)
CMYKcmyk(11.9%, 33.7%, 0%, 20.8%)
CIE-LABlab(62.32, 29.27, -28.78)
CIE-LCHlch(62.32, 41.05, 315.49°)
OKLaboklab(68.68% 0.0742 -0.079)
OKLCHoklch(68.68% 0.108 313.2)
XYZxyz(37.5441, 30.7801, 59.8290)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286CA #9ECA86
analogous
#9086CA #B286CA #CA86C0
triadic
#B286CA #CAB286 #86CAB2
tetradic
#B286CA #CA9086 #9ECA86 #86C0CA
square
#B286CA #CA9086 #9ECA86 #86C0CA
split-complementary
#B286CA #C0CA86 #86CA90
monochromatic
#774195 #975BB7 #B286CA #CDB1DD #E8DBEF

Accessibility & contrast

On white

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

On black

7.16
#B286CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286CA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286CA#FFFFFF#000000##000000
##B286CA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#8598C8
Tritanopia (blue-blind)
#B08F9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b286ca;
/* rgb */ color: rgb(178, 134, 202);
/* oklch */ color: oklch(68.7% 0.108 313.2);
Tailwind
colors: {
  custom: {
    50: '#caa9da',
    500: '#b286ca',
    950: '#000000',
  },
}
SCSS
$custom: #b286ca;
$custom-light: #caa9da;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ca",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 278.824,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68681,
    "c": 0.10835,
    "h": 313.2
  },
  "luminance": 0.30779
}

Semantic roles & 50–950 ramp

primary
#B286CA
secondary
#D3E1CB
accent
#B23360
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B286CA

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

Preview Lab → · Contrast checker → · Palette generator →

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