#B38EEF#B38EEF

#B38EEF is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.9% C 0.142 H 300.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B38EEF
RGBrgb(179, 142, 239)
HSLhsl(263, 75%, 75%)
HSVhsv(263, 41%, 94%)
CMYKcmyk(25.1%, 40.6%, 0%, 6.3%)
CIE-LABlab(65.87, 33.41, -43.80)
CIE-LCHlch(65.87, 55.09, 307.34°)
OKLaboklab(71.92% 0.0719 -0.1222)
OKLCHoklch(71.92% 0.142 300.5)
XYZxyz(43.8399, 35.1615, 86.1218)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EEF #CAEF8E
analogous
#8E99EF #B38EEF #E48EEF
triadic
#B38EEF #EFB38E #8EEFB3
tetradic
#B38EEF #EF8E99 #CAEF8E #8EEFE4
square
#B38EEF #EF8E99 #CAEF8E #8EEFE4
split-complementary
#B38EEF #EFE48E #99EF8E
monochromatic
#6B23E0 #8F58E7 #B38EEF #D7C4F7 #EDE4FB

Accessibility & contrast

On white

2.61
#B38EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B38EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EEF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EEF#FFFFFF#000000##000000
##B38EEF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b38eef;
/* rgb */ color: rgb(179, 142, 239);
/* oklch */ color: oklch(71.9% 0.142 300.5);
Tailwind
colors: {
  custom: {
    50: '#cbaff4',
    500: '#b38eef',
    950: '#000000',
  },
}
SCSS
$custom: #b38eef;
$custom-light: #cbaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b38eef",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 262.887,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71921,
    "c": 0.14174,
    "h": 300.5
  },
  "luminance": 0.35162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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