#B157DD#B157DD

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

Color values

HEX#B157DD
RGBrgb(177, 87, 221)
HSLhsl(280, 66%, 60%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(19.9%, 60.6%, 0%, 13.3%)
CIE-LABlab(53.37, 57.97, -53.59)
CIE-LCHlch(53.37, 78.94, 317.25°)
OKLaboklab(62.29% 0.1402 -0.1505)
OKLCHoklch(62.29% 0.206 313)
XYZxyz(34.5885, 21.3849, 70.6982)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B157DD #83DD57
analogous
#6E57DD #B157DD #DD57C6
triadic
#B157DD #DDB157 #57DDB1
tetradic
#B157DD #DD6E57 #83DD57 #57C6DD
square
#B157DD #DD6E57 #83DD57 #57C6DD
split-complementary
#B157DD #C6DD57 #57DD6E
monochromatic
#721F9A #982ACD #B157DD #C98AE7 #E0BDF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B157DD#FFFFFF#000000##000000
##B157DD1.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)
#267BE1
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#AD7092
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b157dd;
/* rgb */ color: rgb(177, 87, 221);
/* oklch */ color: oklch(62.3% 0.206 313.0);
Tailwind
colors: {
  custom: {
    50: '#cc8be8',
    500: '#b157dd',
    950: '#000000',
  },
}
SCSS
$custom: #b157dd;
$custom-light: #cc8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#b157dd",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 280.299,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.2057,
    "h": 313
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#B157DD
secondary
#BFE1AE
accent
#CE1753
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B157DD

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

Preview Lab → · Contrast checker → · Palette generator →

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