#B286DE#B286DE

#B286DE is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.6% C 0.133 H 306.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B286DE
RGBrgb(178, 134, 222)
HSLhsl(270, 57%, 70%)
HSVhsv(270, 40%, 87%)
CMYKcmyk(19.8%, 39.6%, 0%, 12.9%)
CIE-LABlab(63.17, 33.66, -38.64)
CIE-LCHlch(63.17, 51.25, 311.06°)
OKLaboklab(69.6% 0.0786 -0.1073)
OKLCHoklch(69.6% 0.133 306.2)
XYZxyz(40.0674, 31.7894, 73.1182)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286DE #B2DE86
analogous
#8686DE #B286DE #DE86DE
triadic
#B286DE #DEB286 #86DEB2
tetradic
#B286DE #DE8686 #B2DE86 #86DEDE
square
#B286DE #DE8686 #B2DE86 #86DEDE
split-complementary
#B286DE #DEDE86 #86DE86
monochromatic
#7532B8 #9356D1 #B286DE #D1B6EB #EFE6F8

Accessibility & contrast

On white

2.85
#B286DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B286DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286DE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286DE#FFFFFF#000000##000000
##B286DE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E1
Deuteranopia (green-blind)
#7C99DC
Tritanopia (blue-blind)
#AC94A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b286de;
/* rgb */ color: rgb(178, 134, 222);
/* oklch */ color: oklch(69.6% 0.133 306.2);
Tailwind
colors: {
  custom: {
    50: '#caaae8',
    500: '#b286de',
    950: '#000000',
  },
}
SCSS
$custom: #b286de;
$custom-light: #caaae8;
$custom-dark: #000000;
JSON
{
  "hex": "#b286de",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 222
  },
  "hsl": {
    "h": 270,
    "s": 57.143,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.133,
    "h": 306.2
  },
  "luminance": 0.31789
}

Semantic roles & 50–950 ramp

primary
#B286DE
secondary
#E0ECD3
accent
#C52173
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286DE

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

Preview Lab → · Contrast checker → · Palette generator →

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