#B181CA#B181CA

#B181CA is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.7% C 0.117 H 313.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B181CA
RGBrgb(177, 129, 202)
HSLhsl(279, 41%, 65%)
HSVhsv(279, 36%, 79%)
CMYKcmyk(12.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(61.06, 31.76, -30.74)
CIE-LCHlch(61.06, 44.20, 315.93°)
OKLaboklab(67.7% 0.0804 -0.0846)
OKLCHoklch(67.7% 0.117 313.6)
XYZxyz(36.6407, 29.3126, 59.5934)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181CA #9ACA81
analogous
#8D81CA #B181CA #CA81BF
triadic
#B181CA #CAB181 #81CAB1
tetradic
#B181CA #CA8D81 #9ACA81 #81BFCA
square
#B181CA #CA8D81 #9ACA81 #81BFCA
split-complementary
#B181CA #BFCA81 #81CA8D
monochromatic
#763E93 #9656B8 #B181CA #CCACDC #E6D7EE

Accessibility & contrast

On white

3.06
#B181CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B181CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B181CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181CA#FFFFFF#000000##000000
##B181CA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#AF8B9C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b181ca;
/* rgb */ color: rgb(177, 129, 202);
/* oklch */ color: oklch(67.7% 0.117 313.6);
Tailwind
colors: {
  custom: {
    50: '#c9a6da',
    500: '#b181ca',
    950: '#000000',
  },
}
SCSS
$custom: #b181ca;
$custom-light: #c9a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#b181ca",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 279.452,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67697,
    "c": 0.11671,
    "h": 313.6
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#B181CA
secondary
#CFE0C7
accent
#B4325E
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #B181CA

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

Preview Lab → · Contrast checker → · Palette generator →

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