#B286FF#B286FF

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

Color values

HEX#B286FF
RGBrgb(178, 134, 255)
HSLhsl(262, 100%, 76%)
HSVhsv(262, 47%, 100%)
CMYKcmyk(30.2%, 47.5%, 0%, 0%)
CIE-LABlab(64.75, 41.43, -54.35)
CIE-LCHlch(64.75, 68.34, 307.32°)
OKLaboklab(71.31% 0.0837 -0.1529)
OKLCHoklch(71.31% 0.174 298.7)
XYZxyz(44.9309, 33.7348, 98.7327)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286FF #D3FF86
analogous
#8697FF #B286FF #EE86FF
triadic
#B286FF #FFB286 #86FFB2
tetradic
#B286FF #FF8697 #D3FF86 #86FFEE
square
#B286FF #FF8697 #D3FF86 #86FFEE
split-complementary
#B286FF #FFEE86 #97FF86
monochromatic
#640CFF #8B49FF #B286FF #D9C3FF #ECE0FF

Accessibility & contrast

On white

2.71
#B286FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B286FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286FF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286FF#FFFFFF#000000##000000
##B286FF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#699CFC
Tritanopia (blue-blind)
#A29CB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b286ff;
/* rgb */ color: rgb(178, 134, 255);
/* oklch */ color: oklch(71.3% 0.174 298.7);
Tailwind
colors: {
  custom: {
    50: '#ccaaff',
    500: '#b286ff',
    950: '#000000',
  },
}
SCSS
$custom: #b286ff;
$custom-light: #ccaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#b286ff",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 261.818,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.17429,
    "h": 298.7
  },
  "luminance": 0.33735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B286FF

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

Preview Lab → · Contrast checker → · Palette generator →

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