#B381CF#B381CF

#B381CF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.1% C 0.124 H 312.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B381CF
RGBrgb(179, 129, 207)
HSLhsl(278, 45%, 66%)
HSVhsv(278, 38%, 81%)
CMYKcmyk(13.5%, 37.7%, 0%, 18.8%)
CIE-LABlab(61.47, 33.44, -32.89)
CIE-LCHlch(61.47, 46.91, 315.47°)
OKLaboklab(68.13% 0.0839 -0.0907)
OKLCHoklch(68.13% 0.124 312.8)
XYZxyz(37.7013, 29.7899, 62.7833)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381CF #9DCF81
analogous
#8C81CF #B381CF #CF81C4
triadic
#B381CF #CFB381 #81CFB3
tetradic
#B381CF #CF8C81 #9DCF81 #81C4CF
square
#B381CF #CF8C81 #9DCF81 #81C4CF
split-complementary
#B381CF #C4CF81 #81CF8C
monochromatic
#783B9B #9855BE #B381CF #CEADE0 #E8DAF1

Accessibility & contrast

On white

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

On black

6.96
#B381CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381CF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381CF#FFFFFF#000000##000000
##B381CF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D2
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#B18C9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b381cf;
/* rgb */ color: rgb(179, 129, 207);
/* oklch */ color: oklch(68.1% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#cba6de',
    500: '#b381cf',
    950: '#000000',
  },
}
SCSS
$custom: #b381cf;
$custom-light: #cba6de;
$custom-dark: #000000;
JSON
{
  "hex": "#b381cf",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 278.462,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68128,
    "c": 0.12356,
    "h": 312.8
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#B381CF
secondary
#D2E3C9
accent
#B82E5F
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B381CF

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

Preview Lab → · Contrast checker → · Palette generator →

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