#B286FB#B286FB

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

Color values

HEX#B286FB
RGBrgb(178, 134, 251)
HSLhsl(263, 94%, 75%)
HSVhsv(263, 47%, 98%)
CMYKcmyk(29.1%, 46.6%, 0%, 1.6%)
CIE-LABlab(64.55, 40.46, -52.49)
CIE-LCHlch(64.55, 66.27, 307.63°)
OKLaboklab(71.09% 0.0832 -0.1474)
OKLCHoklch(71.09% 0.169 299.4)
XYZxyz(44.2937, 33.4799, 95.3768)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286FB #CFFB86
analogous
#8694FB #B286FB #EC86FB
triadic
#B286FB #FBB286 #86FBB2
tetradic
#B286FB #FB8694 #CFFB86 #86FBEC
square
#B286FB #FB8694 #CFFB86 #86FBEC
split-complementary
#B286FB #FBEC86 #94FB86
monochromatic
#6710F7 #8C4BF9 #B286FB #D8C1FD #ECE1FE

Accessibility & contrast

On white

2.73
#B286FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B286FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286FB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286FB#FFFFFF#000000##000000
##B286FB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#A39BB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b286fb;
/* rgb */ color: rgb(178, 134, 251);
/* oklch */ color: oklch(71.1% 0.169 299.4);
Tailwind
colors: {
  custom: {
    50: '#ccaafd',
    500: '#b286fb',
    950: '#000000',
  },
}
SCSS
$custom: #b286fb;
$custom-light: #ccaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#b286fb",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 262.564,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71089,
    "c": 0.1693,
    "h": 299.4
  },
  "luminance": 0.3348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B286FB

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

Preview Lab → · Contrast checker → · Palette generator →

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