#B38EEE#B38EEE

#B38EEE is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.140 H 300.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B38EEE
RGBrgb(179, 142, 238)
HSLhsl(263, 74%, 75%)
HSVhsv(263, 40%, 93%)
CMYKcmyk(24.8%, 40.3%, 0%, 6.7%)
CIE-LABlab(65.83, 33.18, -43.32)
CIE-LCHlch(65.83, 54.57, 307.45°)
OKLaboklab(71.87% 0.0717 -0.1208)
OKLCHoklch(71.87% 0.14 300.7)
XYZxyz(43.6926, 35.1026, 85.3460)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EEE #C9EE8E
analogous
#8E99EE #B38EEE #E38EEE
triadic
#B38EEE #EEB38E #8EEEB3
tetradic
#B38EEE #EE8E99 #C9EE8E #8EEEE3
square
#B38EEE #EE8E99 #C9EE8E #8EEEE3
split-complementary
#B38EEE #EEE38E #99EE8E
monochromatic
#6B24DE #8F59E6 #B38EEE #D7C3F6 #EDE4FB

Accessibility & contrast

On white

2.62
#B38EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B38EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EEE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EEE#FFFFFF#000000##000000
##B38EEE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#A89EB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38eee;
/* rgb */ color: rgb(179, 142, 238);
/* oklch */ color: oklch(71.9% 0.140 300.7);
Tailwind
colors: {
  custom: {
    50: '#cbaff4',
    500: '#b38eee',
    950: '#000000',
  },
}
SCSS
$custom: #b38eee;
$custom-light: #cbaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b38eee",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 263.125,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71871,
    "c": 0.14046,
    "h": 300.7
  },
  "luminance": 0.35103
}

Semantic roles & 50–950 ramp

primary
#B38EEE
secondary
#E9F3D8
accent
#D61089
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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