#B135A7#B135A7

#B135A7 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.203 H 331.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B135A7
RGBrgb(177, 53, 167)
HSLhsl(305, 54%, 45%)
HSVhsv(305, 70%, 69%)
CMYKcmyk(0%, 70.1%, 5.6%, 30.6%)
CIE-LABlab(45.20, 62.35, -35.29)
CIE-LCHlch(45.20, 71.65, 330.49°)
OKLaboklab(55.42% 0.1781 -0.0971)
OKLCHoklch(55.42% 0.203 331.4)
XYZxyz(26.3796, 14.6854, 37.9969)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135A7 #35B13F
analogous
#7D35B1 #B135A7 #B13569
triadic
#B135A7 #A7B135 #35A7B1
tetradic
#B135A7 #B17D35 #35B13F #3569B1
square
#B135A7 #B17D35 #35B13F #3569B1
split-complementary
#B135A7 #69B135 #35B17D
monochromatic
#53194E #82277B #B135A7 #CD57C3 #DB86D4

Accessibility & contrast

On white

5.33
#B135A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B135A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135A7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135A7#FFFFFF#000000##FFFFFF
##B135A71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AA
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#B8436A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b135a7;
/* rgb */ color: rgb(177, 53, 167);
/* oklch */ color: oklch(55.4% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc77c1',
    500: '#b135a7',
    950: '#000000',
  },
}
SCSS
$custom: #b135a7;
$custom-light: #cc77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b135a7",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 304.839,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.20281,
    "h": 331.4
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#B135A7
secondary
#7DC483
accent
#DD564B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B135A7

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

Preview Lab → · Contrast checker → · Palette generator →

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