#B286FE#B286FE

#B286FE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.3% C 0.173 H 298.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B286FE
RGBrgb(178, 134, 254)
HSLhsl(262, 98%, 76%)
HSVhsv(262, 47%, 100%)
CMYKcmyk(29.9%, 47.2%, 0%, 0.4%)
CIE-LABlab(64.70, 41.19, -53.89)
CIE-LCHlch(64.70, 67.83, 307.39°)
OKLaboklab(71.25% 0.0835 -0.1515)
OKLCHoklch(71.25% 0.173 298.9)
XYZxyz(44.7703, 33.6706, 97.8871)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286FE #D2FE86
analogous
#8696FE #B286FE #EE86FE
triadic
#B286FE #FEB286 #86FEB2
tetradic
#B286FE #FE8696 #D2FE86 #86FEEE
square
#B286FE #FE8696 #D2FE86 #86FEEE
split-complementary
#B286FE #FEEE86 #96FE86
monochromatic
#650DFD #8B49FD #B286FE #D9C3FF #ECE1FF

Accessibility & contrast

On white

2.72
#B286FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B286FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286FE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286FE#FFFFFF#000000##000000
##B286FE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#A29CB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b286fe;
/* rgb */ color: rgb(178, 134, 254);
/* oklch */ color: oklch(71.3% 0.173 298.9);
Tailwind
colors: {
  custom: {
    50: '#ccaaff',
    500: '#b286fe',
    950: '#000000',
  },
}
SCSS
$custom: #b286fe;
$custom-light: #ccaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#b286fe",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 262,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.17303,
    "h": 298.9
  },
  "luminance": 0.33671
}

Semantic roles & 50–950 ramp

primary
#B286FE
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B286FE

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

Preview Lab → · Contrast checker → · Palette generator →

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