#B387CF#B387CF

#B387CF is a light, moderate violet. Relative luminance 0.314; OKLCH L 69.2% C 0.113 H 311.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B387CF
RGBrgb(179, 135, 207)
HSLhsl(277, 43%, 67%)
HSVhsv(277, 35%, 81%)
CMYKcmyk(13.5%, 34.8%, 0%, 18.8%)
CIE-LABlab(62.86, 30.09, -30.74)
CIE-LCHlch(62.86, 43.02, 314.39°)
OKLaboklab(69.18% 0.0751 -0.0846)
OKLCHoklch(69.18% 0.113 311.6)
XYZxyz(38.5149, 31.4172, 63.0546)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B387CF #A3CF87
analogous
#8F87CF #B387CF #CF87C7
triadic
#B387CF #CFB387 #87CFB3
tetradic
#B387CF #CF8F87 #A3CF87 #87C7CF
square
#B387CF #CF8F87 #A3CF87 #87C7CF
split-complementary
#B387CF #C7CF87 #87CF8F
monochromatic
#783F9D #975BBE #B387CF #CFB3E0 #EADEF2

Accessibility & contrast

On white

2.88
#B387CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B387CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B387CF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B387CF#FFFFFF#000000##000000
##B387CF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#8499CD
Tritanopia (blue-blind)
#B091A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b387cf;
/* rgb */ color: rgb(179, 135, 207);
/* oklch */ color: oklch(69.2% 0.113 311.6);
Tailwind
colors: {
  custom: {
    50: '#caaade',
    500: '#b387cf',
    950: '#000000',
  },
}
SCSS
$custom: #b387cf;
$custom-light: #caaade;
$custom-dark: #000000;
JSON
{
  "hex": "#b387cf",
  "rgb": {
    "r": 179,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 276.667,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69179,
    "c": 0.1131,
    "h": 311.6
  },
  "luminance": 0.31417
}

Semantic roles & 50–950 ramp

primary
#B387CF
secondary
#D6E4CD
accent
#B63064
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B387CF

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

Preview Lab → · Contrast checker → · Palette generator →

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