#B286DF#B286DF

#B286DF is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.134 H 306.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B286DF
RGBrgb(178, 134, 223)
HSLhsl(270, 58%, 70%)
HSVhsv(270, 40%, 87%)
CMYKcmyk(20.2%, 39.9%, 0%, 12.5%)
CIE-LABlab(63.21, 33.89, -39.13)
CIE-LCHlch(63.21, 51.76, 310.89°)
OKLaboklab(69.65% 0.0788 -0.1087)
OKLCHoklch(69.65% 0.134 306)
XYZxyz(40.2018, 31.8431, 73.8262)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286DF #B3DF86
analogous
#8686DF #B286DF #DF86DF
triadic
#B286DF #DFB286 #86DFB2
tetradic
#B286DF #DF8686 #B3DF86 #86DFDF
square
#B286DF #DF8686 #B3DF86 #86DFDF
split-complementary
#B286DF #DFDF86 #86DF86
monochromatic
#7531BA #9356D2 #B286DF #D1B6EC #F0E7F9

Accessibility & contrast

On white

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

On black

7.37
#B286DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286DF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286DF#FFFFFF#000000##000000
##B286DF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E2
Deuteranopia (green-blind)
#7C99DD
Tritanopia (blue-blind)
#AB94A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b286df;
/* rgb */ color: rgb(178, 134, 223);
/* oklch */ color: oklch(69.7% 0.134 306.0);
Tailwind
colors: {
  custom: {
    50: '#caaae9',
    500: '#b286df',
    950: '#000000',
  },
}
SCSS
$custom: #b286df;
$custom-light: #caaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b286df",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 269.663,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.6965,
    "c": 0.13425,
    "h": 306
  },
  "luminance": 0.31843
}

Semantic roles & 50–950 ramp

primary
#B286DF
secondary
#E1EDD4
accent
#C62074
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286DF

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

Preview Lab → · Contrast checker → · Palette generator →

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