#B181DB#B181DB

#B181DB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.5% C 0.137 H 307.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B181DB
RGBrgb(177, 129, 219)
HSLhsl(272, 56%, 68%)
HSVhsv(272, 41%, 86%)
CMYKcmyk(19.2%, 41.1%, 0%, 14.1%)
CIE-LABlab(61.79, 35.48, -39.13)
CIE-LCHlch(61.79, 52.82, 312.20°)
OKLaboklab(68.5% 0.084 -0.1087)
OKLCHoklch(68.5% 0.137 307.7)
XYZxyz(38.7654, 30.1625, 70.7838)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181DB #ABDB81
analogous
#8481DB #B181DB #DB81D8
triadic
#B181DB #DBB181 #81DBB1
tetradic
#B181DB #DB8481 #ABDB81 #81D8DB
square
#B181DB #DB8481 #ABDB81 #81D8DB
split-complementary
#B181DB #D8DB81 #81DB84
monochromatic
#7532AF #9451CD #B181DB #CEB1E9 #ECE0F6

Accessibility & contrast

On white

2.99
#B181DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B181DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181DB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181DB#FFFFFF#000000##000000
##B181DB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#7896D9
Tritanopia (blue-blind)
#AB8FA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b181db;
/* rgb */ color: rgb(177, 129, 219);
/* oklch */ color: oklch(68.5% 0.137 307.7);
Tailwind
colors: {
  custom: {
    50: '#caa6e6',
    500: '#b181db',
    950: '#000000',
  },
}
SCSS
$custom: #b181db;
$custom-light: #caa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b181db",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 272,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.13733,
    "h": 307.7
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

primary
#B181DB
secondary
#DBEACE
accent
#C3226D
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181DB

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

Preview Lab → · Contrast checker → · Palette generator →

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