#B135AC#B135AC

#B135AC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.207 H 329.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B135AC
RGBrgb(177, 53, 172)
HSLhsl(302, 54%, 45%)
HSVhsv(302, 70%, 69%)
CMYKcmyk(0%, 70.1%, 2.8%, 30.6%)
CIE-LABlab(45.46, 63.16, -37.84)
CIE-LCHlch(45.46, 73.63, 329.07°)
OKLaboklab(55.7% 0.1783 -0.1044)
OKLCHoklch(55.7% 0.207 329.6)
XYZxyz(26.8508, 14.8739, 40.4785)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135AC #35B13A
analogous
#7835B1 #B135AC #B1356E
triadic
#B135AC #ACB135 #35ACB1
tetradic
#B135AC #B17835 #35B13A #356EB1
square
#B135AC #B17835 #35B13A #356EB1
split-complementary
#B135AC #6EB135 #35B178
monochromatic
#531950 #82277E #B135AC #CD57C8 #DB86D7

Accessibility & contrast

On white

5.28
#B135AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B135AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135AC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135AC#FFFFFF#000000##FFFFFF
##B135AC1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#B7456D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b135ac;
/* rgb */ color: rgb(177, 53, 172);
/* oklch */ color: oklch(55.7% 0.207 329.6);
Tailwind
colors: {
  custom: {
    50: '#cc78c5',
    500: '#b135ac',
    950: '#000000',
  },
}
SCSS
$custom: #b135ac;
$custom-light: #cc78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b135ac",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 302.419,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.20665,
    "h": 329.6
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#B135AC
secondary
#7DC480
accent
#DD504B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B135AC

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

Preview Lab → · Contrast checker → · Palette generator →

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