#B181DF#B181DF

#B181DF is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.142 H 306.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B181DF
RGBrgb(177, 129, 223)
HSLhsl(271, 59%, 69%)
HSVhsv(271, 42%, 87%)
CMYKcmyk(20.6%, 42.2%, 0%, 12.5%)
CIE-LABlab(61.98, 36.38, -41.07)
CIE-LCHlch(61.98, 54.87, 311.53°)
OKLaboklab(68.69% 0.0847 -0.1143)
OKLCHoklch(68.69% 0.142 306.5)
XYZxyz(39.2983, 30.3756, 73.5905)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181DF #AFDF81
analogous
#8281DF #B181DF #DF81DE
triadic
#B181DF #DFB181 #81DFB1
tetradic
#B181DF #DF8281 #AFDF81 #81DEDF
square
#B181DF #DF8281 #AFDF81 #81DEDF
split-complementary
#B181DF #DEDF81 #81DF82
monochromatic
#742FB7 #9350D3 #B181DF #CFB2EB #EDE3F8

Accessibility & contrast

On white

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

On black

7.08
#B181DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181DF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181DF#FFFFFF#000000##000000
##B181DF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#AA90A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b181df;
/* rgb */ color: rgb(177, 129, 223);
/* oklch */ color: oklch(68.7% 0.142 306.5);
Tailwind
colors: {
  custom: {
    50: '#caa6e9',
    500: '#b181df',
    950: '#000000',
  },
}
SCSS
$custom: #b181df;
$custom-light: #caa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b181df",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 270.638,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.14225,
    "h": 306.5
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#B181DF
secondary
#DEECD0
accent
#C71E71
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181DF

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

Preview Lab → · Contrast checker → · Palette generator →

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