#B38EE2#B38EE2

#B38EE2 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.3% C 0.125 H 303.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B38EE2
RGBrgb(179, 142, 226)
HSLhsl(266, 59%, 72%)
HSVhsv(266, 37%, 89%)
CMYKcmyk(20.8%, 37.2%, 0%, 11.4%)
CIE-LABlab(65.30, 30.39, -37.53)
CIE-LCHlch(65.30, 48.29, 309.00°)
OKLaboklab(71.29% 0.0693 -0.1041)
OKLCHoklch(71.29% 0.125 303.7)
XYZxyz(41.9880, 34.4208, 76.3686)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EE2 #BDE28E
analogous
#8E93E2 #B38EE2 #DD8EE2
triadic
#B38EE2 #E2B38E #8EE2B3
tetradic
#B38EE2 #E28E93 #BDE28E #8EE2DD
square
#B38EE2 #E28E93 #BDE28E #8EE2DD
split-complementary
#B38EE2 #E2DD8E #93E28E
monochromatic
#7232C3 #925DD6 #B38EE2 #D4BFEE #EFE7F9

Accessibility & contrast

On white

2.66
#B38EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#B38EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EE2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EE2#FFFFFF#000000##000000
##B38EE21.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#AB9BAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38ee2;
/* rgb */ color: rgb(179, 142, 226);
/* oklch */ color: oklch(71.3% 0.125 303.7);
Tailwind
colors: {
  custom: {
    50: '#cbafeb',
    500: '#b38ee2',
    950: '#000000',
  },
}
SCSS
$custom: #b38ee2;
$custom-light: #cbafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ee2",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 266.429,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71292,
    "c": 0.12503,
    "h": 303.7
  },
  "luminance": 0.34421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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