#B38BB2#B38BB2

#B38BB2 is a light, moderate purple. Relative luminance 0.313; OKLCH L 68.7% C 0.072 H 327.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B38BB2
RGBrgb(179, 139, 178)
HSLhsl(302, 21%, 62%)
HSVhsv(302, 22%, 70%)
CMYKcmyk(0%, 22.3%, 0.6%, 29.8%)
CIE-LABlab(62.73, 21.93, -14.61)
CIE-LCHlch(62.73, 26.35, 326.34°)
OKLaboklab(68.72% 0.0607 -0.0392)
OKLCHoklch(68.72% 0.072 327.1)
XYZxyz(35.8580, 31.2642, 46.2565)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BB2 #8BB38C
analogous
#A08BB3 #B38BB2 #B38B9E
triadic
#B38BB2 #B2B38B #8BB2B3
tetradic
#B38BB2 #B3A08B #8BB38C #8B9EB3
square
#B38BB2 #B3A08B #8BB38C #8B9EB3
split-complementary
#B38BB2 #9EB38B #8BB3A0
monochromatic
#764D75 #9B6699 #B38BB2 #CBB0CB #E3D5E3

Accessibility & contrast

On white

2.90
#B38BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B38BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BB2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BB2#FFFFFF#000000##000000
##B38BB21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8995B4
Deuteranopia (green-blind)
#929AB1
Tritanopia (blue-blind)
#B68E98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b38bb2;
/* rgb */ color: rgb(179, 139, 178);
/* oklch */ color: oklch(68.7% 0.072 327.1);
Tailwind
colors: {
  custom: {
    50: '#caadc9',
    500: '#b38bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b38bb2;
$custom-light: #caadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bb2",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 301.5,
    "s": 20.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68724,
    "c": 0.07231,
    "h": 327.1
  },
  "luminance": 0.31263
}

Semantic roles & 50–950 ramp

primary
#B38BB2
secondary
#C6D4C6
accent
#9F4946
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #B38BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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