#B135A4#B135A4

#B135A4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.201 H 332.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B135A4
RGBrgb(177, 53, 164)
HSLhsl(306, 54%, 45%)
HSVhsv(306, 70%, 69%)
CMYKcmyk(0%, 70.1%, 7.3%, 30.6%)
CIE-LABlab(45.05, 61.88, -33.75)
CIE-LCHlch(45.05, 70.48, 331.39°)
OKLaboklab(55.26% 0.1779 -0.0926)
OKLCHoklch(55.26% 0.201 332.5)
XYZxyz(26.1055, 14.5758, 36.5532)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135A4 #35B142
analogous
#8035B1 #B135A4 #B13566
triadic
#B135A4 #A4B135 #35A4B1
tetradic
#B135A4 #B18035 #35B142 #3566B1
square
#B135A4 #B18035 #35B142 #3566B1
split-complementary
#B135A4 #66B135 #35B180
monochromatic
#53194D #822778 #B135A4 #CD57C0 #DB86D2

Accessibility & contrast

On white

5.36
#B135A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B135A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135A4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135A4#FFFFFF#000000##FFFFFF
##B135A41.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#B94168
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b135a4;
/* rgb */ color: rgb(177, 53, 164);
/* oklch */ color: oklch(55.3% 0.201 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc77bf',
    500: '#b135a4',
    950: '#000000',
  },
}
SCSS
$custom: #b135a4;
$custom-light: #cc77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b135a4",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 306.29,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.20055,
    "h": 332.5
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#B135A4
secondary
#7DC485
accent
#DD5A4B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B135A4

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

Preview Lab → · Contrast checker → · Palette generator →

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