#B38BEC#B38BEC

#B38BEC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.143 H 301.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B38BEC
RGBrgb(179, 139, 236)
HSLhsl(265, 72%, 74%)
HSVhsv(265, 41%, 93%)
CMYKcmyk(24.2%, 41.1%, 0%, 7.5%)
CIE-LABlab(65.05, 34.38, -43.45)
CIE-LCHlch(65.05, 55.41, 308.36°)
OKLaboklab(71.25% 0.0754 -0.1211)
OKLCHoklch(71.25% 0.143 301.9)
XYZxyz(42.9600, 34.1050, 83.6603)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BEC #C4EC8B
analogous
#8B93EC #B38BEC #E38BEC
triadic
#B38BEC #ECB38B #8BECB3
tetradic
#B38BEC #EC8B93 #C4EC8B #8BECE3
square
#B38BEC #EC8B93 #C4EC8B #8BECE3
split-complementary
#B38BEC #ECE38B #93EC8B
monochromatic
#6E24D9 #9156E3 #B38BEC #D5C0F5 #EEE5FB

Accessibility & contrast

On white

2.69
#B38BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B38BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BEC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BEC#FFFFFF#000000##000000
##B38BEC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#A99BB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38bec;
/* rgb */ color: rgb(179, 139, 236);
/* oklch */ color: oklch(71.3% 0.143 301.9);
Tailwind
colors: {
  custom: {
    50: '#cbadf2',
    500: '#b38bec',
    950: '#000000',
  },
}
SCSS
$custom: #b38bec;
$custom-light: #cbadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bec",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 264.742,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7125,
    "c": 0.14272,
    "h": 301.9
  },
  "luminance": 0.34105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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