#B38BEE#B38BEE

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

Color values

HEX#B38BEE
RGBrgb(179, 139, 238)
HSLhsl(264, 74%, 74%)
HSVhsv(264, 42%, 93%)
CMYKcmyk(24.8%, 41.6%, 0%, 6.7%)
CIE-LABlab(65.14, 34.85, -44.40)
CIE-LCHlch(65.14, 56.45, 308.13°)
OKLaboklab(71.35% 0.0758 -0.1239)
OKLCHoklch(71.35% 0.145 301.5)
XYZxyz(43.2522, 34.2219, 85.1992)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BEE #C6EE8B
analogous
#8B95EE #B38BEE #E48BEE
triadic
#B38BEE #EEB38B #8BEEB3
tetradic
#B38BEE #EE8B95 #C6EE8B #8BEEE4
square
#B38BEE #EE8B95 #C6EE8B #8BEEE4
split-complementary
#B38BEE #EEE48B #95EE8B
monochromatic
#6D21DE #9056E6 #B38BEE #D6C0F6 #EEE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B38BEE#FFFFFF#000000##000000
##B38BEE1.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)
#719DF2
Deuteranopia (green-blind)
#799EEB
Tritanopia (blue-blind)
#A89CB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38bee;
/* rgb */ color: rgb(179, 139, 238);
/* oklch */ color: oklch(71.4% 0.145 301.5);
Tailwind
colors: {
  custom: {
    50: '#cbadf4',
    500: '#b38bee',
    950: '#000000',
  },
}
SCSS
$custom: #b38bee;
$custom-light: #cbadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bee",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 264.242,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.14526,
    "h": 301.5
  },
  "luminance": 0.34222
}

Semantic roles & 50–950 ramp

primary
#B38BEE
secondary
#E8F3D8
accent
#D70F86
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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