#B38DEC#B38DEC

#B38DEC is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.6% C 0.139 H 301.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B38DEC
RGBrgb(179, 141, 236)
HSLhsl(264, 71%, 74%)
HSVhsv(264, 40%, 93%)
CMYKcmyk(24.2%, 40.3%, 0%, 7.5%)
CIE-LABlab(65.51, 33.27, -42.73)
CIE-LCHlch(65.51, 54.15, 307.90°)
OKLaboklab(71.6% 0.0727 -0.1191)
OKLCHoklch(71.6% 0.139 301.4)
XYZxyz(43.2523, 34.6895, 83.7577)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DEC #C6EC8D
analogous
#8D97EC #B38DEC #E38DEC
triadic
#B38DEC #ECB38D #8DECB3
tetradic
#B38DEC #EC8D97 #C6EC8D #8DECE3
square
#B38DEC #EC8D97 #C6EC8D #8DECE3
split-complementary
#B38DEC #ECE38D #97EC8D
monochromatic
#6D24DA #9059E3 #B38DEC #D6C1F5 #EEE5FB

Accessibility & contrast

On white

2.65
#B38DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B38DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DEC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DEC#FFFFFF#000000##000000
##B38DEC1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EF0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#A99DB1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38dec;
/* rgb */ color: rgb(179, 141, 236);
/* oklch */ color: oklch(71.6% 0.139 301.4);
Tailwind
colors: {
  custom: {
    50: '#cbaff2',
    500: '#b38dec',
    950: '#000000',
  },
}
SCSS
$custom: #b38dec;
$custom-light: #cbaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b38dec",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71597,
    "c": 0.13949,
    "h": 301.4
  },
  "luminance": 0.3469
}

Semantic roles & 50–950 ramp

primary
#B38DEC
secondary
#E8F2D9
accent
#D31286
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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