#B286FC#B286FC

#B286FC is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.1% C 0.171 H 299.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B286FC
RGBrgb(178, 134, 252)
HSLhsl(262, 95%, 76%)
HSVhsv(262, 47%, 99%)
CMYKcmyk(29.4%, 46.8%, 0%, 1.2%)
CIE-LABlab(64.60, 40.70, -52.96)
CIE-LCHlch(64.60, 66.79, 307.55°)
OKLaboklab(71.14% 0.0833 -0.1488)
OKLCHoklch(71.14% 0.171 299.2)
XYZxyz(44.4517, 33.5431, 96.2092)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286FC #D0FC86
analogous
#8695FC #B286FC #ED86FC
triadic
#B286FC #FCB286 #86FCB2
tetradic
#B286FC #FC8695 #D0FC86 #86FCED
square
#B286FC #FC8695 #D0FC86 #86FCED
split-complementary
#B286FC #FCED86 #95FC86
monochromatic
#660FF9 #8C4AFB #B286FC #D8C2FD #ECE1FE

Accessibility & contrast

On white

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

On black

7.71
#B286FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286FC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286FC#FFFFFF#000000##000000
##B286FC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#A39CB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b286fc;
/* rgb */ color: rgb(178, 134, 252);
/* oklch */ color: oklch(71.1% 0.171 299.2);
Tailwind
colors: {
  custom: {
    50: '#ccaafe',
    500: '#b286fc',
    950: '#000000',
  },
}
SCSS
$custom: #b286fc;
$custom-light: #ccaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b286fc",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 262.373,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71144,
    "c": 0.17054,
    "h": 299.2
  },
  "luminance": 0.33543
}

Semantic roles & 50–950 ramp

primary
#B286FC
secondary
#EAF6D5
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B286FC

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

Preview Lab → · Contrast checker → · Palette generator →

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