#B38FDA#B38FDA

#B38FDA is a light, moderate violet. Relative luminance 0.343; OKLCH L 71.1% C 0.113 H 305.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B38FDA
RGBrgb(179, 143, 218)
HSLhsl(269, 50%, 71%)
HSVhsv(269, 34%, 85%)
CMYKcmyk(17.9%, 34.4%, 0%, 14.5%)
CIE-LABlab(65.19, 28.02, -33.26)
CIE-LCHlch(65.19, 43.49, 310.12°)
OKLaboklab(71.1% 0.0661 -0.0918)
OKLCHoklch(71.1% 0.113 305.7)
XYZxyz(41.0653, 34.2908, 70.7715)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FDA #B6DA8F
analogous
#8F90DA #B38FDA #D88FDA
triadic
#B38FDA #DAB38F #8FDAB3
tetradic
#B38FDA #DA8F90 #B6DA8F #8FDAD8
square
#B38FDA #DA8F90 #B6DA8F #8FDAD8
split-complementary
#B38FDA #DAD88F #90DA8F
monochromatic
#753BB3 #9461CB #B38FDA #D2BDE9 #EFE8F7

Accessibility & contrast

On white

2.67
#B38FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B38FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FDA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FDA#FFFFFF#000000##000000
##B38FDA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#809DDD
Deuteranopia (green-blind)
#879ED8
Tritanopia (blue-blind)
#AD9AAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38fda;
/* rgb */ color: rgb(179, 143, 218);
/* oklch */ color: oklch(71.1% 0.113 305.7);
Tailwind
colors: {
  custom: {
    50: '#cbb0e5',
    500: '#b38fda',
    950: '#000000',
  },
}
SCSS
$custom: #b38fda;
$custom-light: #cbb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b38fda",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 268.8,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.11311,
    "h": 305.7
  },
  "luminance": 0.34291
}

Semantic roles & 50–950 ramp

primary
#B38FDA
secondary
#E3ECD8
accent
#BE2876
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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