#B38EEB#B38EEB

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

Color values

HEX#B38EEB
RGBrgb(179, 142, 235)
HSLhsl(264, 70%, 74%)
HSVhsv(264, 40%, 92%)
CMYKcmyk(23.8%, 39.6%, 0%, 7.8%)
CIE-LABlab(65.69, 32.47, -41.88)
CIE-LCHlch(65.69, 53.00, 307.79°)
OKLaboklab(71.72% 0.0711 -0.1166)
OKLCHoklch(71.72% 0.137 301.4)
XYZxyz(43.2555, 34.9278, 83.0441)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EEB #C6EB8E
analogous
#8E98EB #B38EEB #E28EEB
triadic
#B38EEB #EBB38E #8EEBB3
tetradic
#B38EEB #EB8E98 #C6EB8E #8EEBE2
square
#B38EEB #EB8E98 #C6EB8E #8EEBE2
split-complementary
#B38EEB #EBE28E #98EB8E
monochromatic
#6D26D8 #905AE2 #B38EEB #D6C2F4 #EEE5FA

Accessibility & contrast

On white

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

On black

7.99
#B38EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EEB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EEB#FFFFFF#000000##000000
##B38EEB1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#A99DB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38eeb;
/* rgb */ color: rgb(179, 142, 235);
/* oklch */ color: oklch(71.7% 0.137 301.4);
Tailwind
colors: {
  custom: {
    50: '#cbaff2',
    500: '#b38eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b38eeb;
$custom-light: #cbaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b38eeb",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 263.871,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.1366,
    "h": 301.4
  },
  "luminance": 0.34928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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