#B387CA#B387CA

#B387CA is a light, moderate violet. Relative luminance 0.312; OKLCH L 69.0% C 0.107 H 313.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B387CA
RGBrgb(179, 135, 202)
HSLhsl(279, 39%, 66%)
HSVhsv(279, 33%, 79%)
CMYKcmyk(11.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(62.66, 29.03, -28.25)
CIE-LCHlch(62.66, 40.50, 315.78°)
OKLaboklab(68.96% 0.0739 -0.0775)
OKLCHoklch(68.96% 0.107 313.6)
XYZxyz(37.9133, 31.1766, 59.8861)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B387CA #9ECA87
analogous
#9187CA #B387CA #CA87BF
triadic
#B387CA #CAB387 #87CAB3
tetradic
#B387CA #CA9187 #9ECA87 #87BFCA
square
#B387CA #CA9187 #9ECA87 #87BFCA
split-complementary
#B387CA #BFCA87 #87CA91
monochromatic
#784295 #985DB7 #B387CA #CEB1DD #E9DCEF

Accessibility & contrast

On white

2.90
#B387CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B387CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B387CA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B387CA#FFFFFF#000000##000000
##B387CA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#8699C8
Tritanopia (blue-blind)
#B190A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b387ca;
/* rgb */ color: rgb(179, 135, 202);
/* oklch */ color: oklch(69.0% 0.107 313.6);
Tailwind
colors: {
  custom: {
    50: '#caaada',
    500: '#b387ca',
    950: '#000000',
  },
}
SCSS
$custom: #b387ca;
$custom-light: #caaada;
$custom-dark: #000000;
JSON
{
  "hex": "#b387ca",
  "rgb": {
    "r": 179,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 279.403,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68959,
    "c": 0.10704,
    "h": 313.6
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#B387CA
secondary
#D3E1CB
accent
#B2345F
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B387CA

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

Preview Lab → · Contrast checker → · Palette generator →

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