#B381CE#B381CE

#B381CE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.1% C 0.122 H 313.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B381CE
RGBrgb(179, 129, 206)
HSLhsl(279, 44%, 66%)
HSVhsv(279, 37%, 81%)
CMYKcmyk(13.1%, 37.4%, 0%, 19.2%)
CIE-LABlab(61.43, 33.23, -32.40)
CIE-LCHlch(61.43, 46.41, 315.73°)
OKLaboklab(68.08% 0.0837 -0.0893)
OKLCHoklch(68.08% 0.122 313.2)
XYZxyz(37.5794, 29.7411, 62.1415)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381CE #9CCE81
analogous
#8C81CE #B381CE #CE81C2
triadic
#B381CE #CEB381 #81CEB3
tetradic
#B381CE #CE8C81 #9CCE81 #81C2CE
square
#B381CE #CE8C81 #9CCE81 #81C2CE
split-complementary
#B381CE #C2CE81 #81CE8C
monochromatic
#783C99 #9855BD #B381CE #CEADDF #E8D9F0

Accessibility & contrast

On white

3.02
#B381CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B381CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381CE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381CE#FFFFFF#000000##000000
##B381CE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D1
Deuteranopia (green-blind)
#7F96CC
Tritanopia (blue-blind)
#B18B9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b381ce;
/* rgb */ color: rgb(179, 129, 206);
/* oklch */ color: oklch(68.1% 0.122 313.2);
Tailwind
colors: {
  custom: {
    50: '#cba6dd',
    500: '#b381ce',
    950: '#000000',
  },
}
SCSS
$custom: #b381ce;
$custom-light: #cba6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b381ce",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 278.961,
    "s": 44,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68083,
    "c": 0.12237,
    "h": 313.2
  },
  "luminance": 0.2974
}

Semantic roles & 50–950 ramp

primary
#B381CE
secondary
#D2E2C9
accent
#B72E5E
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B381CE

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

Preview Lab → · Contrast checker → · Palette generator →

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