#B38BDA#B38BDA

#B38BDA is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.4% C 0.120 H 306.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B38BDA
RGBrgb(179, 139, 218)
HSLhsl(270, 52%, 70%)
HSVhsv(270, 36%, 85%)
CMYKcmyk(17.9%, 36.2%, 0%, 14.5%)
CIE-LABlab(64.25, 30.26, -34.72)
CIE-LCHlch(64.25, 46.06, 311.08°)
OKLaboklab(70.39% 0.0718 -0.096)
OKLCHoklch(70.39% 0.12 306.8)
XYZxyz(40.4755, 33.1112, 70.5749)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BDA #B2DA8B
analogous
#8C8BDA #B38BDA #DA8BD9
triadic
#B38BDA #DAB38B #8BDAB3
tetradic
#B38BDA #DA8C8B #B2DA8B #8BD9DA
square
#B38BDA #DA8C8B #B2DA8B #8BD9DA
split-complementary
#B38BDA #D9DA8B #8BDA8C
monochromatic
#7639B2 #955DCB #B38BDA #D1B9E9 #F0E8F8

Accessibility & contrast

On white

2.76
#B38BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B38BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BDA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BDA#FFFFFF#000000##000000
##B38BDA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADD
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#AE97A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b38bda;
/* rgb */ color: rgb(179, 139, 218);
/* oklch */ color: oklch(70.4% 0.120 306.8);
Tailwind
colors: {
  custom: {
    50: '#cbade5',
    500: '#b38bda',
    950: '#000000',
  },
}
SCSS
$custom: #b38bda;
$custom-light: #cbade5;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bda",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 270.38,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.70387,
    "c": 0.11988,
    "h": 306.8
  },
  "luminance": 0.33111
}

Semantic roles & 50–950 ramp

primary
#B38BDA
secondary
#E0EBD5
accent
#BF2672
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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