#B381CB#B381CB

#B381CB is a light, moderate purple. Relative luminance 0.296; OKLCH L 67.9% C 0.119 H 314.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B381CB
RGBrgb(179, 129, 203)
HSLhsl(281, 42%, 65%)
HSVhsv(281, 36%, 80%)
CMYKcmyk(11.8%, 36.5%, 0%, 20.4%)
CIE-LABlab(61.30, 32.59, -30.90)
CIE-LCHlch(61.30, 44.91, 316.52°)
OKLaboklab(67.95% 0.083 -0.085)
OKLCHoklch(67.95% 0.119 314.3)
XYZxyz(37.2184, 29.5968, 60.2405)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381CB #99CB81
analogous
#8E81CB #B381CB #CB81BE
triadic
#B381CB #CBB381 #81CBB3
tetradic
#B381CB #CB8E81 #99CB81 #81BECB
square
#B381CB #CB8E81 #99CB81 #81BECB
split-complementary
#B381CB #BECB81 #81CB8E
monochromatic
#783D94 #9956B9 #B381CB #CDACDD #E7D8EF

Accessibility & contrast

On white

3.04
#B381CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B381CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381CB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381CB#FFFFFF#000000##000000
##B381CB1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#8195C9
Tritanopia (blue-blind)
#B18B9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b381cb;
/* rgb */ color: rgb(179, 129, 203);
/* oklch */ color: oklch(67.9% 0.119 314.3);
Tailwind
colors: {
  custom: {
    50: '#cba6db',
    500: '#b381cb',
    950: '#000000',
  },
}
SCSS
$custom: #b381cb;
$custom-light: #cba6db;
$custom-dark: #000000;
JSON
{
  "hex": "#b381cb",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 280.541,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67946,
    "c": 0.11881,
    "h": 314.3
  },
  "luminance": 0.29596
}

Semantic roles & 50–950 ramp

primary
#B381CB
secondary
#CFE0C7
accent
#B5315C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B381CB

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

Preview Lab → · Contrast checker → · Palette generator →

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