#B38DFD#B38DFD

#B38DFD is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.5% C 0.161 H 297.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B38DFD
RGBrgb(179, 141, 253)
HSLhsl(260, 97%, 77%)
HSVhsv(260, 44%, 99%)
CMYKcmyk(29.2%, 44.3%, 0%, 0.8%)
CIE-LABlab(66.31, 37.33, -50.79)
CIE-LCHlch(66.31, 63.03, 306.32°)
OKLaboklab(72.47% 0.0755 -0.1425)
OKLCHoklch(72.47% 0.161 297.9)
XYZxyz(45.8407, 35.7249, 97.3900)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DFD #D7FD8D
analogous
#8D9FFD #B38DFD #EB8DFD
triadic
#B38DFD #FDB38D #8DFDB3
tetradic
#B38DFD #FD8D9F #D7FD8D #8DFDEB
square
#B38DFD #FD8D9F #D7FD8D #8DFDEB
split-complementary
#B38DFD #FDEB8D #9FFD8D
monochromatic
#6315FB #8B51FC #B38DFD #DBC9FE #EBE1FE

Accessibility & contrast

On white

2.58
#B38DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B38DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DFD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DFD#FFFFFF#000000##000000
##B38DFD1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#A4A1B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38dfd;
/* rgb */ color: rgb(179, 141, 253);
/* oklch */ color: oklch(72.5% 0.161 297.9);
Tailwind
colors: {
  custom: {
    50: '#ccaffe',
    500: '#b38dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b38dfd;
$custom-light: #ccaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b38dfd",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 260.357,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72466,
    "c": 0.16122,
    "h": 297.9
  },
  "luminance": 0.35725
}

Semantic roles & 50–950 ramp

primary
#B38DFD
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B38DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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