#B137B2#B137B2

#B137B2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.209 H 327.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B137B2
RGBrgb(177, 55, 178)
HSLhsl(300, 53%, 46%)
HSVhsv(300, 69%, 70%)
CMYKcmyk(0.6%, 69.1%, 0%, 30.2%)
CIE-LABlab(46.04, 63.43, -40.47)
CIE-LCHlch(46.04, 75.24, 327.46°)
OKLaboklab(56.21% 0.1764 -0.1121)
OKLCHoklch(56.21% 0.209 327.6)
XYZxyz(27.5331, 15.2958, 43.6130)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B137B2 #38B237
analogous
#7337B2 #B137B2 #B23775
triadic
#B137B2 #B2B137 #37B2B1
tetradic
#B137B2 #B27337 #38B237 #3775B2
square
#B137B2 #B27337 #38B237 #3775B2
split-complementary
#B137B2 #75B237 #37B273
monochromatic
#541A54 #832983 #B137B2 #CB5ACC #DA89DB

Accessibility & contrast

On white

5.17
#B137B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B137B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B137B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B137B2#FFFFFF#000000##FFFFFF
##B137B21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#B64971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b137b2;
/* rgb */ color: rgb(177, 55, 178);
/* oklch */ color: oklch(56.2% 0.209 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc79c9',
    500: '#b137b2',
    950: '#000000',
  },
}
SCSS
$custom: #b137b2;
$custom-light: #cc79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b137b2",
  "rgb": {
    "r": 177,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 299.512,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.20902,
    "h": 327.6
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#B137B2
secondary
#81C580
accent
#DC4C4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B137B2

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

Preview Lab → · Contrast checker → · Palette generator →

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