#B135A9#B135A9

#B135A9 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.204 H 330.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B135A9
RGBrgb(177, 53, 169)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 69%)
CMYKcmyk(0%, 70.1%, 4.5%, 30.6%)
CIE-LABlab(45.30, 62.67, -36.31)
CIE-LCHlch(45.30, 72.43, 329.91°)
OKLaboklab(55.53% 0.1782 -0.1)
OKLCHoklch(55.53% 0.204 330.7)
XYZxyz(26.5659, 14.7599, 38.9782)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135A9 #35B13D
analogous
#7B35B1 #B135A9 #B1356B
triadic
#B135A9 #A9B135 #35A9B1
tetradic
#B135A9 #B17B35 #35B13D #356BB1
square
#B135A9 #B17B35 #35B13D #356BB1
split-complementary
#B135A9 #6BB135 #35B17B
monochromatic
#53194F #82277C #B135A9 #CD57C5 #DB86D5

Accessibility & contrast

On white

5.31
#B135A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B135A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135A9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135A9#FFFFFF#000000##FFFFFF
##B135A91.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#5A71A6
Tritanopia (blue-blind)
#B8446B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b135a9;
/* rgb */ color: rgb(177, 53, 169);
/* oklch */ color: oklch(55.5% 0.204 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc78c3',
    500: '#b135a9',
    950: '#000000',
  },
}
SCSS
$custom: #b135a9;
$custom-light: #cc78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b135a9",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 303.871,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.20434,
    "h": 330.7
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#B135A9
secondary
#7DC482
accent
#DD544B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B135A9

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

Preview Lab → · Contrast checker → · Palette generator →

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