#B286F8#B286F8

#B286F8 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.166 H 300.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B286F8
RGBrgb(178, 134, 248)
HSLhsl(263, 89%, 75%)
HSVhsv(263, 46%, 97%)
CMYKcmyk(28.2%, 46%, 0%, 2.7%)
CIE-LABlab(64.40, 39.74, -51.08)
CIE-LCHlch(64.40, 64.72, 307.88°)
OKLaboklab(70.93% 0.0828 -0.1433)
OKLCHoklch(70.93% 0.166 300)
XYZxyz(43.8245, 33.2922, 92.9059)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286F8 #CCF886
analogous
#8693F8 #B286F8 #EB86F8
triadic
#B286F8 #F8B286 #86F8B2
tetradic
#B286F8 #F88693 #CCF886 #86F8EB
square
#B286F8 #F88693 #CCF886 #86F8EB
split-complementary
#B286F8 #F8EB86 #93F886
monochromatic
#6812F1 #8D4CF5 #B286F8 #D7C0FB #EDE2FD

Accessibility & contrast

On white

2.74
#B286F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B286F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286F8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286F8#FFFFFF#000000##000000
##B286F81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#A49BB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b286f8;
/* rgb */ color: rgb(178, 134, 248);
/* oklch */ color: oklch(70.9% 0.166 300.0);
Tailwind
colors: {
  custom: {
    50: '#cbaafb',
    500: '#b286f8',
    950: '#000000',
  },
}
SCSS
$custom: #b286f8;
$custom-light: #cbaafb;
$custom-dark: #000000;
JSON
{
  "hex": "#b286f8",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 263.158,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.16555,
    "h": 300
  },
  "luminance": 0.33292
}

Semantic roles & 50–950 ramp

primary
#B286F8
secondary
#E9F5D6
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B286F8

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

Preview Lab → · Contrast checker → · Palette generator →

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