#B181DE#B181DE

#B181DE is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.141 H 306.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B181DE
RGBrgb(177, 129, 222)
HSLhsl(271, 58%, 69%)
HSVhsv(271, 42%, 87%)
CMYKcmyk(20.3%, 41.9%, 0%, 12.9%)
CIE-LABlab(61.93, 36.16, -40.59)
CIE-LCHlch(61.93, 54.36, 311.69°)
OKLaboklab(68.65% 0.0845 -0.1129)
OKLCHoklch(68.65% 0.141 306.8)
XYZxyz(39.1639, 30.3219, 72.8826)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181DE #AEDE81
analogous
#8381DE #B181DE #DE81DD
triadic
#B181DE #DEB181 #81DEB1
tetradic
#B181DE #DE8381 #AEDE81 #81DDDE
square
#B181DE #DE8381 #AEDE81 #81DDDE
split-complementary
#B181DE #DDDE81 #81DE83
monochromatic
#742FB5 #9351D1 #B181DE #CFB1EB #EDE2F7

Accessibility & contrast

On white

2.97
#B181DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B181DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181DE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181DE#FFFFFF#000000##000000
##B181DE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E1
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#AA90A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b181de;
/* rgb */ color: rgb(177, 129, 222);
/* oklch */ color: oklch(68.6% 0.141 306.8);
Tailwind
colors: {
  custom: {
    50: '#caa6e8',
    500: '#b181de',
    950: '#000000',
  },
}
SCSS
$custom: #b181de;
$custom-light: #caa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b181de",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 270.968,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68645,
    "c": 0.14102,
    "h": 306.8
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#B181DE
secondary
#DDEBD0
accent
#C61F70
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181DE

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

Preview Lab → · Contrast checker → · Palette generator →

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