#B38DF9#B38DF9

#B38DF9 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.3% C 0.156 H 298.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B38DF9
RGBrgb(179, 141, 249)
HSLhsl(261, 90%, 76%)
HSVhsv(261, 43%, 98%)
CMYKcmyk(28.1%, 43.4%, 0%, 2.4%)
CIE-LABlab(66.11, 36.36, -48.91)
CIE-LCHlch(66.11, 60.94, 306.63°)
OKLaboklab(72.26% 0.0749 -0.137)
OKLCHoklch(72.26% 0.156 298.7)
XYZxyz(45.2102, 35.4727, 94.0692)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DF9 #D3F98D
analogous
#8D9DF9 #B38DF9 #E98DF9
triadic
#B38DF9 #F9B38D #8DF9B3
tetradic
#B38DF9 #F98D9D #D3F98D #8DF9E9
square
#B38DF9 #F98D9D #D3F98D #8DF9E9
split-complementary
#B38DF9 #F9E98D #9DF98D
monochromatic
#6519F3 #8C53F6 #B38DF9 #DAC7FC #ECE2FD

Accessibility & contrast

On white

2.59
#B38DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B38DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DF9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DF9#FFFFFF#000000##000000
##B38DF91.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FD
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#A5A0B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38df9;
/* rgb */ color: rgb(179, 141, 249);
/* oklch */ color: oklch(72.3% 0.156 298.7);
Tailwind
colors: {
  custom: {
    50: '#ccaffc',
    500: '#b38df9',
    950: '#000000',
  },
}
SCSS
$custom: #b38df9;
$custom-light: #ccaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b38df9",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 261.111,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72256,
    "c": 0.15612,
    "h": 298.7
  },
  "luminance": 0.35473
}

Semantic roles & 50–950 ramp

primary
#B38DF9
secondary
#EAF6D5
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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