#B38EEA#B38EEA

#B38EEA is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.135 H 301.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B38EEA
RGBrgb(179, 142, 234)
HSLhsl(264, 69%, 74%)
HSVhsv(264, 39%, 92%)
CMYKcmyk(23.5%, 39.3%, 0%, 8.2%)
CIE-LABlab(65.65, 32.24, -41.40)
CIE-LCHlch(65.65, 52.47, 307.91°)
OKLaboklab(71.68% 0.0709 -0.1152)
OKLCHoklch(71.68% 0.135 301.6)
XYZxyz(43.1114, 34.8702, 82.2853)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EEA #C5EA8E
analogous
#8E97EA #B38EEA #E18EEA
triadic
#B38EEA #EAB38E #8EEAB3
tetradic
#B38EEA #EA8E97 #C5EA8E #8EEAE1
square
#B38EEA #EA8E97 #C5EA8E #8EEAE1
split-complementary
#B38EEA #EAE18E #97EA8E
monochromatic
#6E28D6 #905AE0 #B38EEA #D6C2F4 #EEE5FA

Accessibility & contrast

On white

2.63
#B38EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B38EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EEA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EEA#FFFFFF#000000##000000
##B38EEA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#A99DB1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38eea;
/* rgb */ color: rgb(179, 142, 234);
/* oklch */ color: oklch(71.7% 0.135 301.6);
Tailwind
colors: {
  custom: {
    50: '#cbaff1',
    500: '#b38eea',
    950: '#000000',
  },
}
SCSS
$custom: #b38eea;
$custom-light: #cbaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b38eea",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 264.13,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.13531,
    "h": 301.6
  },
  "luminance": 0.3487
}

Semantic roles & 50–950 ramp

primary
#B38EEA
secondary
#E8F2D9
accent
#D11585
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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