#B286CC#B286CC

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

Color values

HEX#B286CC
RGBrgb(178, 134, 204)
HSLhsl(278, 41%, 66%)
HSVhsv(278, 34%, 80%)
CMYKcmyk(12.7%, 34.3%, 0%, 20%)
CIE-LABlab(62.40, 29.70, -29.77)
CIE-LCHlch(62.40, 42.05, 314.93°)
OKLaboklab(68.77% 0.0747 -0.0818)
OKLCHoklch(68.77% 0.111 312.4)
XYZxyz(37.7824, 30.8754, 61.0842)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286CC #A0CC86
analogous
#8F86CC #B286CC #CC86C3
triadic
#B286CC #CCB286 #86CCB2
tetradic
#B286CC #CC8F86 #A0CC86 #86C3CC
square
#B286CC #CC8F86 #A0CC86 #86C3CC
split-complementary
#B286CC #C3CC86 #86CC8F
monochromatic
#774098 #975BBA #B286CC #CDB1DE #E9DCF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B286CC#FFFFFF#000000##000000
##B286CC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#8498CA
Tritanopia (blue-blind)
#B08FA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b286cc;
/* rgb */ color: rgb(178, 134, 204);
/* oklch */ color: oklch(68.8% 0.111 312.4);
Tailwind
colors: {
  custom: {
    50: '#caa9db',
    500: '#b286cc',
    950: '#000000',
  },
}
SCSS
$custom: #b286cc;
$custom-light: #caa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#b286cc",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 277.714,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68769,
    "c": 0.11078,
    "h": 312.4
  },
  "luminance": 0.30875
}

Semantic roles & 50–950 ramp

primary
#B286CC
secondary
#D4E2CB
accent
#B43262
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B286CC

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

Preview Lab → · Contrast checker → · Palette generator →

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