#B38BE5#B38BE5

#B38BE5 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.134 H 303.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B38BE5
RGBrgb(179, 139, 229)
HSLhsl(267, 63%, 72%)
HSVhsv(267, 39%, 90%)
CMYKcmyk(21.8%, 39.3%, 0%, 10.2%)
CIE-LABlab(64.73, 32.76, -40.08)
CIE-LCHlch(64.73, 51.76, 309.26°)
OKLaboklab(70.91% 0.0741 -0.1114)
OKLCHoklch(70.91% 0.134 303.6)
XYZxyz(41.9629, 33.7062, 78.4088)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BE5 #BDE58B
analogous
#8B90E5 #B38BE5 #E08BE5
triadic
#B38BE5 #E5B38B #8BE5B3
tetradic
#B38BE5 #E58B90 #BDE58B #8BE5E0
square
#B38BE5 #E58B90 #BDE58B #8BE5E0
split-complementary
#B38BE5 #E5E08B #90E58B
monochromatic
#722DC9 #9259DA #B38BE5 #D4BDF0 #EFE6F9

Accessibility & contrast

On white

2.71
#B38BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B38BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BE5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BE5#FFFFFF#000000##000000
##B38BE51.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE8
Deuteranopia (green-blind)
#7E9DE3
Tritanopia (blue-blind)
#AB99AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b38be5;
/* rgb */ color: rgb(179, 139, 229);
/* oklch */ color: oklch(70.9% 0.134 303.6);
Tailwind
colors: {
  custom: {
    50: '#cbaded',
    500: '#b38be5',
    950: '#000000',
  },
}
SCSS
$custom: #b38be5;
$custom-light: #cbaded;
$custom-dark: #000000;
JSON
{
  "hex": "#b38be5",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 266.667,
    "s": 63.38,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.13382,
    "h": 303.6
  },
  "luminance": 0.33706
}

Semantic roles & 50–950 ramp

primary
#B38BE5
secondary
#E7F1DA
accent
#CB1A7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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