#B381DD#B381DD

#B381DD is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.140 H 308.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B381DD
RGBrgb(179, 129, 221)
HSLhsl(273, 58%, 69%)
HSVhsv(273, 42%, 87%)
CMYKcmyk(19%, 41.6%, 0%, 13.3%)
CIE-LABlab(62.09, 36.51, -39.77)
CIE-LCHlch(62.09, 53.99, 312.55°)
OKLaboklab(68.79% 0.0867 -0.1105)
OKLCHoklch(68.79% 0.14 308.1)
XYZxyz(39.4893, 30.5051, 72.2003)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381DD #ABDD81
analogous
#8581DD #B381DD #DD81D9
triadic
#B381DD #DDB381 #81DDB3
tetradic
#B381DD #DD8581 #ABDD81 #81D9DD
square
#B381DD #DD8581 #ABDD81 #81D9DD
split-complementary
#B381DD #D9DD81 #81DD85
monochromatic
#7730B3 #9651D0 #B381DD #D0B1EA #EDE1F7

Accessibility & contrast

On white

2.96
#B381DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B381DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B381DD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381DD#FFFFFF#000000##000000
##B381DD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#AD8FA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b381dd;
/* rgb */ color: rgb(179, 129, 221);
/* oklch */ color: oklch(68.8% 0.140 308.1);
Tailwind
colors: {
  custom: {
    50: '#cba6e8',
    500: '#b381dd',
    950: '#000000',
  },
}
SCSS
$custom: #b381dd;
$custom-light: #cba6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b381dd",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 272.609,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68794,
    "c": 0.14045,
    "h": 308.1
  },
  "luminance": 0.30505
}

Semantic roles & 50–950 ramp

primary
#B381DD
secondary
#DCEBCF
accent
#C5206C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B381DD

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

Preview Lab → · Contrast checker → · Palette generator →

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