#B38DF8#B38DF8

#B38DF8 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.2% C 0.155 H 298.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B38DF8
RGBrgb(179, 141, 248)
HSLhsl(261, 88%, 76%)
HSVhsv(261, 43%, 97%)
CMYKcmyk(27.8%, 43.1%, 0%, 2.7%)
CIE-LABlab(66.07, 36.12, -48.44)
CIE-LCHlch(66.07, 60.42, 306.71°)
OKLaboklab(72.2% 0.0747 -0.1356)
OKLCHoklch(72.2% 0.155 298.9)
XYZxyz(45.0546, 35.4104, 93.2500)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DF8 #D2F88D
analogous
#8D9DF8 #B38DF8 #E88DF8
triadic
#B38DF8 #F8B38D #8DF8B3
tetradic
#B38DF8 #F88D9D #D2F88D #8DF8E8
square
#B38DF8 #F88D9D #D2F88D #8DF8E8
split-complementary
#B38DF8 #F8E88D #9DF88D
monochromatic
#661AF1 #8D53F4 #B38DF8 #D9C7FC #ECE2FD

Accessibility & contrast

On white

2.60
#B38DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B38DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DF8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DF8#FFFFFF#000000##000000
##B38DF81.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#A5A0B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38df8;
/* rgb */ color: rgb(179, 141, 248);
/* oklch */ color: oklch(72.2% 0.155 298.9);
Tailwind
colors: {
  custom: {
    50: '#ccaffb',
    500: '#b38df8',
    950: '#000000',
  },
}
SCSS
$custom: #b38df8;
$custom-light: #ccaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b38df8",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 261.308,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.15485,
    "h": 298.9
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

primary
#B38DF8
secondary
#EAF5D6
accent
#E50094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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