#B287EE#B287EE

#B287EE is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.6% C 0.151 H 301.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B287EE
RGBrgb(178, 135, 238)
HSLhsl(265, 75%, 73%)
HSVhsv(265, 43%, 93%)
CMYKcmyk(25.2%, 43.3%, 0%, 6.7%)
CIE-LABlab(64.13, 36.80, -45.99)
CIE-LCHlch(64.13, 58.90, 308.66°)
OKLaboklab(70.57% 0.0801 -0.1285)
OKLCHoklch(70.57% 0.151 301.9)
XYZxyz(42.4533, 32.9659, 84.9988)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287EE #C3EE87
analogous
#878FEE #B287EE #E687EE
triadic
#B287EE #EEB287 #87EEB2
tetradic
#B287EE #EE878F #C3EE87 #87EEE6
square
#B287EE #EE878F #C3EE87 #87EEE6
split-complementary
#B287EE #EEE687 #8FEE87
monochromatic
#6E1FDC #9051E6 #B287EE #D4BDF6 #EEE4FB

Accessibility & contrast

On white

2.77
#B287EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B287EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287EE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287EE#FFFFFF#000000##000000
##B287EE1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#A799AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b287ee;
/* rgb */ color: rgb(178, 135, 238);
/* oklch */ color: oklch(70.6% 0.151 301.9);
Tailwind
colors: {
  custom: {
    50: '#cbaaf4',
    500: '#b287ee',
    950: '#000000',
  },
}
SCSS
$custom: #b287ee;
$custom-light: #cbaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b287ee",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 265.049,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7057,
    "c": 0.15144,
    "h": 301.9
  },
  "luminance": 0.32966
}

Semantic roles & 50–950 ramp

primary
#B287EE
secondary
#E8F3D8
accent
#D70E83
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B287EE

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

Preview Lab → · Contrast checker → · Palette generator →

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