#B181DC#B181DC

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

Color values

HEX#B181DC
RGBrgb(177, 129, 220)
HSLhsl(272, 57%, 68%)
HSVhsv(272, 41%, 86%)
CMYKcmyk(19.5%, 41.4%, 0%, 13.7%)
CIE-LABlab(61.84, 35.70, -39.62)
CIE-LCHlch(61.84, 53.33, 312.03°)
OKLaboklab(68.55% 0.0842 -0.1101)
OKLCHoklch(68.55% 0.139 307.4)
XYZxyz(38.8975, 30.2153, 71.4793)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181DC #ACDC81
analogous
#8381DC #B181DC #DC81DA
triadic
#B181DC #DCB181 #81DCB1
tetradic
#B181DC #DC8381 #ACDC81 #81DADC
square
#B181DC #DC8381 #ACDC81 #81DADC
split-complementary
#B181DC #DADC81 #81DC83
monochromatic
#7531B1 #9351CF #B181DC #CFB1E9 #ECE1F7

Accessibility & contrast

On white

2.98
#B181DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B181DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181DC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181DC#FFFFFF#000000##000000
##B181DC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b181dc;
/* rgb */ color: rgb(177, 129, 220);
/* oklch */ color: oklch(68.5% 0.139 307.4);
Tailwind
colors: {
  custom: {
    50: '#caa6e7',
    500: '#b181dc',
    950: '#000000',
  },
}
SCSS
$custom: #b181dc;
$custom-light: #caa6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b181dc",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 271.648,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68546,
    "c": 0.13856,
    "h": 307.4
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#B181DC
secondary
#DCEACF
accent
#C4216E
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181DC

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

Preview Lab → · Contrast checker → · Palette generator →

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