#B38BD2#B38BD2

#B38BD2 is a light, moderate violet. Relative luminance 0.327; OKLCH L 70.0% C 0.110 H 309.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B38BD2
RGBrgb(179, 139, 210)
HSLhsl(274, 44%, 68%)
HSVhsv(274, 34%, 82%)
CMYKcmyk(14.8%, 33.8%, 0%, 17.6%)
CIE-LABlab(63.92, 28.50, -30.78)
CIE-LCHlch(63.92, 41.95, 312.80°)
OKLaboklab(70.03% 0.0699 -0.0847)
OKLCHoklch(70.03% 0.11 309.5)
XYZxyz(39.4538, 32.7025, 65.1940)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BD2 #AAD28B
analogous
#8F8BD2 #B38BD2 #D28BCD
triadic
#B38BD2 #D2B38B #8BD2B3
tetradic
#B38BD2 #D28F8B #AAD28B #8BCDD2
square
#B38BD2 #D28F8B #AAD28B #8BCDD2
split-complementary
#B38BD2 #CDD28B #8BD28F
monochromatic
#783FA3 #965FC1 #B38BD2 #D0B7E3 #EDE3F4

Accessibility & contrast

On white

2.78
#B38BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#B38BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BD2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BD2#FFFFFF#000000##000000
##B38BD21.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E99D5
Deuteranopia (green-blind)
#879CD0
Tritanopia (blue-blind)
#AF95A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b38bd2;
/* rgb */ color: rgb(179, 139, 210);
/* oklch */ color: oklch(70.0% 0.110 309.5);
Tailwind
colors: {
  custom: {
    50: '#caade0',
    500: '#b38bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b38bd2;
$custom-light: #caade0;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bd2",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 273.803,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70026,
    "c": 0.10985,
    "h": 309.5
  },
  "luminance": 0.32702
}

Semantic roles & 50–950 ramp

primary
#B38BD2
secondary
#DBE7D2
accent
#B72E6A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B38BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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