#B135A8#B135A8

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

Color values

HEX#B135A8
RGBrgb(177, 53, 168)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 69%)
CMYKcmyk(0%, 70.1%, 5.1%, 30.6%)
CIE-LABlab(45.25, 62.51, -35.80)
CIE-LCHlch(45.25, 72.04, 330.20°)
OKLaboklab(55.48% 0.1781 -0.0985)
OKLCHoklch(55.48% 0.204 331.1)
XYZxyz(26.4724, 14.7225, 38.4857)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135A8 #35B13E
analogous
#7C35B1 #B135A8 #B1356A
triadic
#B135A8 #A8B135 #35A8B1
tetradic
#B135A8 #B17C35 #35B13E #356AB1
square
#B135A8 #B17C35 #35B13E #356AB1
split-complementary
#B135A8 #6AB135 #35B17C
monochromatic
#53194F #82277B #B135A8 #CD57C4 #DB86D5

Accessibility & contrast

On white

5.32
#B135A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B135A8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135A8#FFFFFF#000000##FFFFFF
##B135A81.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#B8436B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b135a8;
/* rgb */ color: rgb(177, 53, 168);
/* oklch */ color: oklch(55.5% 0.204 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc78c2',
    500: '#b135a8',
    950: '#000000',
  },
}
SCSS
$custom: #b135a8;
$custom-light: #cc78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b135a8",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 304.355,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.20358,
    "h": 331.1
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#B135A8
secondary
#7DC483
accent
#DD554B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B135A8

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

Preview Lab → · Contrast checker → · Palette generator →

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