#B38EDD#B38EDD

#B38EDD is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.1% C 0.119 H 305.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B38EDD
RGBrgb(179, 142, 221)
HSLhsl(268, 54%, 71%)
HSVhsv(268, 36%, 87%)
CMYKcmyk(19%, 35.7%, 0%, 13.3%)
CIE-LABlab(65.08, 29.26, -35.10)
CIE-LCHlch(65.08, 45.69, 309.82°)
OKLaboklab(71.06% 0.0682 -0.0971)
OKLCHoklch(71.06% 0.119 305.1)
XYZxyz(41.3119, 34.1504, 72.8079)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EDD #B8DD8E
analogous
#8E90DD #B38EDD #DA8EDD
triadic
#B38EDD #DDB38E #8EDDB3
tetradic
#B38EDD #DD8E90 #B8DD8E #8EDDDA
square
#B38EDD #DD8E90 #B8DD8E #8EDDDA
split-complementary
#B38EDD #DDDA8E #90DD8E
monochromatic
#7438B9 #935FCF #B38EDD #D3BDEB #EFE7F8

Accessibility & contrast

On white

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

On black

7.83
#B38EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EDD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EDD#FFFFFF#000000##000000
##B38EDD1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE0
Deuteranopia (green-blind)
#859EDB
Tritanopia (blue-blind)
#AD9AAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38edd;
/* rgb */ color: rgb(179, 142, 221);
/* oklch */ color: oklch(71.1% 0.119 305.1);
Tailwind
colors: {
  custom: {
    50: '#cbafe8',
    500: '#b38edd',
    950: '#000000',
  },
}
SCSS
$custom: #b38edd;
$custom-light: #cbafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b38edd",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 268.101,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7106,
    "c": 0.11864,
    "h": 305.1
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

primary
#B38EDD
secondary
#E4EED9
accent
#C12478
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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