#B38DEB#B38DEB

#B38DEB is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.5% C 0.138 H 301.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B38DEB
RGBrgb(179, 141, 235)
HSLhsl(264, 70%, 74%)
HSVhsv(264, 40%, 92%)
CMYKcmyk(23.8%, 40%, 0%, 7.8%)
CIE-LABlab(65.46, 33.03, -42.25)
CIE-LCHlch(65.46, 53.63, 308.02°)
OKLaboklab(71.55% 0.0725 -0.1177)
OKLCHoklch(71.55% 0.138 301.6)
XYZxyz(43.1074, 34.6316, 82.9947)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DEB #C5EB8D
analogous
#8D96EB #B38DEB #E28DEB
triadic
#B38DEB #EBB38D #8DEBB3
tetradic
#B38DEB #EB8D96 #C5EB8D #8DEBE2
square
#B38DEB #EB8D96 #C5EB8D #8DEBE2
split-complementary
#B38DEB #EBE28D #96EB8D
monochromatic
#6E26D8 #9059E2 #B38DEB #D6C1F4 #EEE5FA

Accessibility & contrast

On white

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

On black

7.93
#B38DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DEB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DEB#FFFFFF#000000##000000
##B38DEB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b38deb;
/* rgb */ color: rgb(179, 141, 235);
/* oklch */ color: oklch(71.5% 0.138 301.6);
Tailwind
colors: {
  custom: {
    50: '#cbaff2',
    500: '#b38deb',
    950: '#000000',
  },
}
SCSS
$custom: #b38deb;
$custom-light: #cbaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b38deb",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 264.255,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71548,
    "c": 0.13821,
    "h": 301.6
  },
  "luminance": 0.34632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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