#B38DCA#B38DCA

#B38DCA is a light, moderate violet. Relative luminance 0.329; OKLCH L 70.0% C 0.096 H 312.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B38DCA
RGBrgb(179, 141, 202)
HSLhsl(277, 37%, 67%)
HSVhsv(277, 30%, 79%)
CMYKcmyk(11.4%, 30.2%, 0%, 20.8%)
CIE-LABlab(64.08, 25.66, -26.06)
CIE-LCHlch(64.08, 36.57, 314.56°)
OKLaboklab(70.04% 0.0649 -0.0713)
OKLCHoklch(70.04% 0.096 312.3)
XYZxyz(38.7742, 32.8983, 60.1730)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DCA #A4CA8D
analogous
#958DCA #B38DCA #CA8DC3
triadic
#B38DCA #CAB38D #8DCAB3
tetradic
#B38DCA #CA958D #A4CA8D #8DC3CA
square
#B38DCA #CA958D #A4CA8D #8DC3CA
split-complementary
#B38DCA #C3CA8D #8DCA95
monochromatic
#784697 #9763B7 #B38DCA #CFB7DD #EBE1F1

Accessibility & contrast

On white

2.77
#B38DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B38DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DCA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DCA#FFFFFF#000000##000000
##B38DCA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b38dca;
/* rgb */ color: rgb(179, 141, 202);
/* oklch */ color: oklch(70.0% 0.096 312.3);
Tailwind
colors: {
  custom: {
    50: '#caaeda',
    500: '#b38dca',
    950: '#000000',
  },
}
SCSS
$custom: #b38dca;
$custom-light: #caaeda;
$custom-dark: #000000;
JSON
{
  "hex": "#b38dca",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 277.377,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.09642,
    "h": 312.3
  },
  "luminance": 0.32898
}

Semantic roles & 50–950 ramp

primary
#B38DCA
secondary
#D7E3D0
accent
#AF3664
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B38DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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