#B135AF#B135AF

#B135AF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.209 H 328.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B135AF
RGBrgb(177, 53, 175)
HSLhsl(301, 54%, 45%)
HSVhsv(301, 70%, 69%)
CMYKcmyk(0%, 70.1%, 1.1%, 30.6%)
CIE-LABlab(45.62, 63.65, -39.36)
CIE-LCHlch(45.62, 74.84, 328.27°)
OKLaboklab(55.86% 0.1784 -0.1088)
OKLCHoklch(55.86% 0.209 328.6)
XYZxyz(27.1421, 14.9904, 42.0130)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135AF #35B137
analogous
#7535B1 #B135AF #B13571
triadic
#B135AF #AFB135 #35AFB1
tetradic
#B135AF #B17535 #35B137 #3571B1
square
#B135AF #B17535 #35B137 #3571B1
split-complementary
#B135AF #71B135 #35B175
monochromatic
#531952 #822780 #B135AF #CD57CB #DB86D9

Accessibility & contrast

On white

5.25
#B135AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B135AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135AF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135AF#FFFFFF#000000##FFFFFF
##B135AF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#B7466E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b135af;
/* rgb */ color: rgb(177, 53, 175);
/* oklch */ color: oklch(55.9% 0.209 328.6);
Tailwind
colors: {
  custom: {
    50: '#cc78c7',
    500: '#b135af',
    950: '#000000',
  },
}
SCSS
$custom: #b135af;
$custom-light: #cc78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b135af",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 300.968,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.20898,
    "h": 328.6
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#B135AF
secondary
#7DC47F
accent
#DD4D4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B135AF

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

Preview Lab → · Contrast checker → · Palette generator →

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