#B387E1#B387E1

#B387E1 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.135 H 305.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B387E1
RGBrgb(179, 135, 225)
HSLhsl(269, 60%, 71%)
HSVhsv(269, 40%, 88%)
CMYKcmyk(20.4%, 40%, 0%, 11.8%)
CIE-LABlab(63.63, 34.08, -39.58)
CIE-LCHlch(63.63, 52.23, 310.72°)
OKLaboklab(70.02% 0.079 -0.11)
OKLCHoklch(70.02% 0.135 305.7)
XYZxyz(40.8422, 32.3481, 75.3117)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B387E1 #B5E187
analogous
#8788E1 #B387E1 #E087E1
triadic
#B387E1 #E1B387 #87E1B3
tetradic
#B387E1 #E18788 #B5E187 #87E1E0
square
#B387E1 #E18788 #B5E187 #87E1E0
split-complementary
#B387E1 #E1E087 #88E187
monochromatic
#7530BE #9456D5 #B387E1 #D2B8ED #EFE7F9

Accessibility & contrast

On white

2.81
#B387E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B387E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B387E1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B387E1#FFFFFF#000000##000000
##B387E11.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E4
Deuteranopia (green-blind)
#7C9ADF
Tritanopia (blue-blind)
#AC95A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b387e1;
/* rgb */ color: rgb(179, 135, 225);
/* oklch */ color: oklch(70.0% 0.135 305.7);
Tailwind
colors: {
  custom: {
    50: '#cbaaea',
    500: '#b387e1',
    950: '#000000',
  },
}
SCSS
$custom: #b387e1;
$custom-light: #cbaaea;
$custom-dark: #000000;
JSON
{
  "hex": "#b387e1",
  "rgb": {
    "r": 179,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 269.333,
    "s": 60,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.13539,
    "h": 305.7
  },
  "luminance": 0.32348
}

Semantic roles & 50–950 ramp

primary
#B387E1
secondary
#E2EED6
accent
#C81E75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B387E1

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

Preview Lab → · Contrast checker → · Palette generator →

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