#B157DE#B157DE

#B157DE is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.4% C 0.207 H 312.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B157DE
RGBrgb(177, 87, 222)
HSLhsl(280, 67%, 61%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(20.3%, 60.8%, 0%, 12.9%)
CIE-LABlab(53.43, 58.18, -54.06)
CIE-LCHlch(53.43, 79.42, 317.10°)
OKLaboklab(62.35% 0.1402 -0.1519)
OKLCHoklch(62.35% 0.207 312.7)
XYZxyz(34.7222, 21.4384, 71.4020)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B157DE #84DE57
analogous
#6D57DE #B157DE #DE57C7
triadic
#B157DE #DEB157 #57DEB1
tetradic
#B157DE #DE6D57 #84DE57 #57C7DE
square
#B157DE #DE6D57 #84DE57 #57C7DE
split-complementary
#B157DE #C7DE57 #57DE6D
monochromatic
#721F9C #9829CF #B157DE #C98AE8 #E0BDF2

Accessibility & contrast

On white

3.97
#B157DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B157DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B157DE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B157DE#FFFFFF#000000##000000
##B157DE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#AC7093
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b157de;
/* rgb */ color: rgb(177, 87, 222);
/* oklch */ color: oklch(62.4% 0.207 312.7);
Tailwind
colors: {
  custom: {
    50: '#cc8be9',
    500: '#b157de',
    950: '#000000',
  },
}
SCSS
$custom: #b157de;
$custom-light: #cc8be9;
$custom-dark: #000000;
JSON
{
  "hex": "#b157de",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 280,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.20671,
    "h": 312.7
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#B157DE
secondary
#C0E2AF
accent
#CF1654
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B157DE

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

Preview Lab → · Contrast checker → · Palette generator →

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