#B38EE3#B38EE3

#B38EE3 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.3% C 0.126 H 303.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B38EE3
RGBrgb(179, 142, 227)
HSLhsl(266, 60%, 72%)
HSVhsv(266, 37%, 89%)
CMYKcmyk(21.1%, 37.4%, 0%, 11%)
CIE-LABlab(65.34, 30.62, -38.02)
CIE-LCHlch(65.34, 48.82, 308.85°)
OKLaboklab(71.34% 0.0695 -0.1055)
OKLCHoklch(71.34% 0.126 303.4)
XYZxyz(42.1256, 34.4758, 77.0934)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EE3 #BEE38E
analogous
#8E93E3 #B38EE3 #DE8EE3
triadic
#B38EE3 #E3B38E #8EE3B3
tetradic
#B38EE3 #E38E93 #BEE38E #8EE3DE
square
#B38EE3 #E38E93 #BEE38E #8EE3DE
split-complementary
#B38EE3 #E3DE8E #93E38E
monochromatic
#7231C6 #925DD7 #B38EE3 #D4BFEF #EFE6F9

Accessibility & contrast

On white

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

On black

7.90
#B38EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EE3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EE3#FFFFFF#000000##000000
##B38EE31.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9EE6
Deuteranopia (green-blind)
#829FE1
Tritanopia (blue-blind)
#AB9BAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38ee3;
/* rgb */ color: rgb(179, 142, 227);
/* oklch */ color: oklch(71.3% 0.126 303.4);
Tailwind
colors: {
  custom: {
    50: '#cbafec',
    500: '#b38ee3',
    950: '#000000',
  },
}
SCSS
$custom: #b38ee3;
$custom-light: #cbafec;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ee3",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 266.118,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71339,
    "c": 0.12632,
    "h": 303.4
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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