#B38DE3#B38DE3

#B38DE3 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.128 H 303.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B38DE3
RGBrgb(179, 141, 227)
HSLhsl(267, 61%, 72%)
HSVhsv(267, 38%, 89%)
CMYKcmyk(21.1%, 37.9%, 0%, 11%)
CIE-LABlab(65.10, 31.18, -38.38)
CIE-LCHlch(65.10, 49.45, 309.09°)
OKLaboklab(71.16% 0.0709 -0.1065)
OKLCHoklch(71.16% 0.128 303.7)
XYZxyz(41.9775, 34.1796, 77.0440)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DE3 #BDE38D
analogous
#8D92E3 #B38DE3 #DE8DE3
triadic
#B38DE3 #E3B38D #8DE3B3
tetradic
#B38DE3 #E38D92 #BDE38D #8DE3DE
square
#B38DE3 #E38D92 #BDE38D #8DE3DE
split-complementary
#B38DE3 #E3DE8D #92E38D
monochromatic
#7230C5 #925CD7 #B38DE3 #D4BEEF #EFE6F9

Accessibility & contrast

On white

2.68
#B38DE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B38DE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DE3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DE3#FFFFFF#000000##000000
##B38DE31.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE6
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#AB9BAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38de3;
/* rgb */ color: rgb(179, 141, 227);
/* oklch */ color: oklch(71.2% 0.128 303.7);
Tailwind
colors: {
  custom: {
    50: '#cbaeec',
    500: '#b38de3',
    950: '#000000',
  },
}
SCSS
$custom: #b38de3;
$custom-light: #cbaeec;
$custom-dark: #000000;
JSON
{
  "hex": "#b38de3",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 227
  },
  "hsl": {
    "h": 266.512,
    "s": 60.563,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71162,
    "c": 0.12798,
    "h": 303.7
  },
  "luminance": 0.3418
}

Semantic roles & 50–950 ramp

primary
#B38DE3
secondary
#E7F0DB
accent
#C81D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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