#B286FA#B286FA

#B286FA is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.168 H 299.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B286FA
RGBrgb(178, 134, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28.8%, 46.4%, 0%, 2%)
CIE-LABlab(64.50, 40.22, -52.02)
CIE-LCHlch(64.50, 65.75, 307.71°)
OKLaboklab(71.04% 0.0831 -0.1461)
OKLCHoklch(71.04% 0.168 299.6)
XYZxyz(44.1365, 33.4170, 94.5488)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286FA #CEFA86
analogous
#8694FA #B286FA #EC86FA
triadic
#B286FA #FAB286 #86FAB2
tetradic
#B286FA #FA8694 #CEFA86 #86FAEC
square
#B286FA #FA8694 #CEFA86 #86FAEC
split-complementary
#B286FA #FAEC86 #94FA86
monochromatic
#6710F5 #8D4BF8 #B286FA #D7C1FC #ECE2FE

Accessibility & contrast

On white

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

On black

7.68
#B286FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286FA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286FA#FFFFFF#000000##000000
##B286FA1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6C9CF7
Tritanopia (blue-blind)
#A49BB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b286fa;
/* rgb */ color: rgb(178, 134, 250);
/* oklch */ color: oklch(71.0% 0.168 299.6);
Tailwind
colors: {
  custom: {
    50: '#ccaafc',
    500: '#b286fa',
    950: '#000000',
  },
}
SCSS
$custom: #b286fa;
$custom-light: #ccaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b286fa",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 262.759,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71035,
    "c": 0.16805,
    "h": 299.6
  },
  "luminance": 0.33417
}

Semantic roles & 50–950 ramp

primary
#B286FA
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B286FA

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

Preview Lab → · Contrast checker → · Palette generator →

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