#B286E3#B286E3

#B286E3 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.139 H 304.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B286E3
RGBrgb(178, 134, 227)
HSLhsl(268, 62%, 71%)
HSVhsv(268, 41%, 89%)
CMYKcmyk(21.6%, 41%, 0%, 11%)
CIE-LABlab(63.39, 34.80, -41.07)
CIE-LCHlch(63.39, 53.83, 310.28°)
OKLaboklab(69.85% 0.0796 -0.1143)
OKLCHoklch(69.85% 0.139 304.9)
XYZxyz(40.7475, 32.0614, 76.7000)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286E3 #B7E386
analogous
#8688E3 #B286E3 #E086E3
triadic
#B286E3 #E3B286 #86E3B2
tetradic
#B286E3 #E38688 #B7E386 #86E3E0
square
#B286E3 #E38688 #B7E386 #86E3E0
split-complementary
#B286E3 #E3E086 #88E386
monochromatic
#732DC2 #9254D7 #B286E3 #D2B8EF #EFE6F9

Accessibility & contrast

On white

2.83
#B286E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B286E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286E3
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286E3#FFFFFF#000000##000000
##B286E31.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#AA95AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b286e3;
/* rgb */ color: rgb(178, 134, 227);
/* oklch */ color: oklch(69.8% 0.139 304.9);
Tailwind
colors: {
  custom: {
    50: '#caaaec',
    500: '#b286e3',
    950: '#000000',
  },
}
SCSS
$custom: #b286e3;
$custom-light: #caaaec;
$custom-dark: #000000;
JSON
{
  "hex": "#b286e3",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 227
  },
  "hsl": {
    "h": 268.387,
    "s": 62.416,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.13925,
    "h": 304.9
  },
  "luminance": 0.32061
}

Semantic roles & 50–950 ramp

primary
#B286E3
secondary
#E3EFD6
accent
#CA1B77
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B286E3

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

Preview Lab → · Contrast checker → · Palette generator →

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