#B286FD#B286FD

#B286FD is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.2% C 0.172 H 299.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B286FD
RGBrgb(178, 134, 253)
HSLhsl(262, 97%, 76%)
HSVhsv(262, 47%, 99%)
CMYKcmyk(29.6%, 47%, 0%, 0.8%)
CIE-LABlab(64.65, 40.94, -53.42)
CIE-LCHlch(64.65, 67.31, 307.47°)
OKLaboklab(71.2% 0.0834 -0.1502)
OKLCHoklch(71.2% 0.172 299.1)
XYZxyz(44.6106, 33.6067, 97.0459)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286FD #D1FD86
analogous
#8695FD #B286FD #EE86FD
triadic
#B286FD #FDB286 #86FDB2
tetradic
#B286FD #FD8695 #D1FD86 #86FDEE
square
#B286FD #FD8695 #D1FD86 #86FDEE
split-complementary
#B286FD #FDEE86 #95FD86
monochromatic
#650EFB #8C4AFC #B286FD #D8C2FE #ECE1FF

Accessibility & contrast

On white

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

On black

7.72
#B286FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286FD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286FD#FFFFFF#000000##000000
##B286FD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#A39CB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b286fd;
/* rgb */ color: rgb(178, 134, 253);
/* oklch */ color: oklch(71.2% 0.172 299.1);
Tailwind
colors: {
  custom: {
    50: '#ccaafe',
    500: '#b286fd',
    950: '#000000',
  },
}
SCSS
$custom: #b286fd;
$custom-light: #ccaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b286fd",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 262.185,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.17178,
    "h": 299.1
  },
  "luminance": 0.33607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B286FD

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

Preview Lab → · Contrast checker → · Palette generator →

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