#B381CA#B381CA

#B381CA is a light, moderate purple. Relative luminance 0.295; OKLCH L 67.9% C 0.118 H 314.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B381CA
RGBrgb(179, 129, 202)
HSLhsl(281, 41%, 65%)
HSVhsv(281, 36%, 79%)
CMYKcmyk(11.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(61.26, 32.38, -30.40)
CIE-LCHlch(61.26, 44.42, 316.80°)
OKLaboklab(67.9% 0.0828 -0.0836)
OKLCHoklch(67.9% 0.118 314.7)
XYZxyz(37.0997, 29.5492, 59.6149)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381CA #98CA81
analogous
#8F81CA #B381CA #CA81BC
triadic
#B381CA #CAB381 #81CAB3
tetradic
#B381CA #CA8F81 #98CA81 #81BCCA
square
#B381CA #CA8F81 #98CA81 #81BCCA
split-complementary
#B381CA #BCCA81 #81CA8F
monochromatic
#783E93 #9956B8 #B381CA #CDACDC #E7D7EE

Accessibility & contrast

On white

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

On black

6.91
#B381CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381CA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381CA#FFFFFF#000000##000000
##B381CA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#B28B9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b381ca;
/* rgb */ color: rgb(179, 129, 202);
/* oklch */ color: oklch(67.9% 0.118 314.7);
Tailwind
colors: {
  custom: {
    50: '#cba6da',
    500: '#b381ca',
    950: '#000000',
  },
}
SCSS
$custom: #b381ca;
$custom-light: #cba6da;
$custom-dark: #000000;
JSON
{
  "hex": "#b381ca",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 281.096,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67901,
    "c": 0.11764,
    "h": 314.7
  },
  "luminance": 0.29548
}

Semantic roles & 50–950 ramp

primary
#B381CA
secondary
#CFE0C7
accent
#B4325B
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #B381CA

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

Preview Lab → · Contrast checker → · Palette generator →

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