#B181CB#B181CB

#B181CB is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.7% C 0.118 H 313.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B181CB
RGBrgb(177, 129, 203)
HSLhsl(279, 42%, 65%)
HSVhsv(279, 36%, 80%)
CMYKcmyk(12.8%, 36.5%, 0%, 20.4%)
CIE-LABlab(61.10, 31.97, -31.24)
CIE-LCHlch(61.10, 44.70, 315.66°)
OKLaboklab(67.74% 0.0807 -0.086)
OKLCHoklch(67.74% 0.118 313.2)
XYZxyz(36.7594, 29.3601, 60.2189)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181CB #9BCB81
analogous
#8C81CB #B181CB #CB81C0
triadic
#B181CB #CBB181 #81CBB1
tetradic
#B181CB #CB8C81 #9BCB81 #81C0CB
square
#B181CB #CB8C81 #9BCB81 #81C0CB
split-complementary
#B181CB #C0CB81 #81CB8C
monochromatic
#763D94 #9656B9 #B181CB #CCACDD #E7D8EF

Accessibility & contrast

On white

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

On black

6.87
#B181CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B181CB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181CB#FFFFFF#000000##000000
##B181CB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#AF8B9D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b181cb;
/* rgb */ color: rgb(177, 129, 203);
/* oklch */ color: oklch(67.7% 0.118 313.2);
Tailwind
colors: {
  custom: {
    50: '#c9a6db',
    500: '#b181cb',
    950: '#000000',
  },
}
SCSS
$custom: #b181cb;
$custom-light: #c9a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#b181cb",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 278.919,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67743,
    "c": 0.1179,
    "h": 313.2
  },
  "luminance": 0.29359
}

Semantic roles & 50–950 ramp

primary
#B181CB
secondary
#D0E0C7
accent
#B5315F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B181CB

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

Preview Lab → · Contrast checker → · Palette generator →

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