#B18DCA#B18DCA

#B18DCA is a light, moderate violet. Relative luminance 0.327; OKLCH L 69.9% C 0.096 H 310.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B18DCA
RGBrgb(177, 141, 202)
HSLhsl(275, 37%, 67%)
HSVhsv(275, 30%, 79%)
CMYKcmyk(12.4%, 30.2%, 0%, 20.8%)
CIE-LABlab(63.89, 25.02, -26.37)
CIE-LCHlch(63.89, 36.35, 313.50°)
OKLaboklab(69.85% 0.0626 -0.0722)
OKLCHoklch(69.85% 0.096 310.9)
XYZxyz(38.3152, 32.6616, 60.1515)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DCA #A6CA8D
analogous
#938DCA #B18DCA #CA8DC5
triadic
#B18DCA #CAB18D #8DCAB1
tetradic
#B18DCA #CA938D #A6CA8D #8DC5CA
square
#B18DCA #CA938D #A6CA8D #8DC5CA
split-complementary
#B18DCA #C5CA8D #8DCA93
monochromatic
#764697 #9463B7 #B18DCA #CEB7DD #EAE1F1

Accessibility & contrast

On white

2.79
#B18DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B18DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DCA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DCA#FFFFFF#000000##000000
##B18DCA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CC
Deuteranopia (green-blind)
#8A9CC8
Tritanopia (blue-blind)
#AE95A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b18dca;
/* rgb */ color: rgb(177, 141, 202);
/* oklch */ color: oklch(69.9% 0.096 310.9);
Tailwind
colors: {
  custom: {
    50: '#c9aeda',
    500: '#b18dca',
    950: '#000000',
  },
}
SCSS
$custom: #b18dca;
$custom-light: #c9aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#b18dca",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 275.41,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69851,
    "c": 0.09556,
    "h": 310.9
  },
  "luminance": 0.32661
}

Semantic roles & 50–950 ramp

primary
#B18DCA
secondary
#D8E3D0
accent
#AF3668
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B18DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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