#B158DA#B158DA

#B158DA is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.2% C 0.201 H 313.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B158DA
RGBrgb(177, 88, 218)
HSLhsl(281, 64%, 60%)
HSVhsv(281, 60%, 85%)
CMYKcmyk(18.8%, 59.6%, 0%, 14.5%)
CIE-LABlab(53.37, 56.86, -51.88)
CIE-LCHlch(53.37, 76.97, 317.62°)
OKLaboklab(62.24% 0.139 -0.1455)
OKLCHoklch(62.24% 0.201 313.7)
XYZxyz(34.2739, 21.3895, 68.6392)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B158DA #81DA58
analogous
#7058DA #B158DA #DA58C2
triadic
#B158DA #DAB158 #58DAB1
tetradic
#B158DA #DA7058 #81DA58 #58C2DA
square
#B158DA #DA7058 #81DA58 #58C2DA
split-complementary
#B158DA #C2DA58 #58DA70
monochromatic
#712196 #972CC8 #B158DA #C88AE5 #E0BCF0

Accessibility & contrast

On white

3.98
#B158DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B158DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B158DA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B158DA#FFFFFF#000000##000000
##B158DA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDE
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#AD6F91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b158da;
/* rgb */ color: rgb(177, 88, 218);
/* oklch */ color: oklch(62.2% 0.201 313.7);
Tailwind
colors: {
  custom: {
    50: '#cb8ce6',
    500: '#b158da',
    950: '#000000',
  },
}
SCSS
$custom: #b158da;
$custom-light: #cb8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b158da",
  "rgb": {
    "r": 177,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 281.077,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.20123,
    "h": 313.7
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#B158DA
secondary
#BEE0AE
accent
#E74175
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B158DA

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

Preview Lab → · Contrast checker → · Palette generator →

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