#B381CD#B381CD

#B381CD is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.0% C 0.121 H 313.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B381CD
RGBrgb(179, 129, 205)
HSLhsl(279, 43%, 65%)
HSVhsv(279, 37%, 80%)
CMYKcmyk(12.7%, 37.1%, 0%, 19.6%)
CIE-LABlab(61.39, 33.01, -31.90)
CIE-LCHlch(61.39, 45.91, 315.98°)
OKLaboklab(68.04% 0.0835 -0.0878)
OKLCHoklch(68.04% 0.121 313.5)
XYZxyz(37.4583, 29.6927, 61.5038)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381CD #9BCD81
analogous
#8D81CD #B381CD #CD81C1
triadic
#B381CD #CDB381 #81CDB3
tetradic
#B381CD #CD8D81 #9BCD81 #81C1CD
square
#B381CD #CD8D81 #9BCD81 #81C1CD
split-complementary
#B381CD #C1CD81 #81CD8D
monochromatic
#783C97 #9955BC #B381CD #CDADDE #E8D9F0

Accessibility & contrast

On white

3.03
#B381CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B381CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381CD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381CD#FFFFFF#000000##000000
##B381CD1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#B18B9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b381cd;
/* rgb */ color: rgb(179, 129, 205);
/* oklch */ color: oklch(68.0% 0.121 313.5);
Tailwind
colors: {
  custom: {
    50: '#cba6dc',
    500: '#b381cd',
    950: '#000000',
  },
}
SCSS
$custom: #b381cd;
$custom-light: #cba6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b381cd",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 279.474,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.12118,
    "h": 313.5
  },
  "luminance": 0.29692
}

Semantic roles & 50–950 ramp

primary
#B381CD
secondary
#D1E2C8
accent
#B62F5D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B381CD

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

Preview Lab → · Contrast checker → · Palette generator →

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