#B135A2#B135A2

#B135A2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.2% C 0.199 H 333.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B135A2
RGBrgb(177, 53, 162)
HSLhsl(307, 54%, 45%)
HSVhsv(307, 70%, 69%)
CMYKcmyk(0%, 70.1%, 8.5%, 30.6%)
CIE-LABlab(44.95, 61.56, -32.71)
CIE-LCHlch(44.95, 69.72, 332.02°)
OKLaboklab(55.16% 0.1777 -0.0896)
OKLCHoklch(55.16% 0.199 333.2)
XYZxyz(25.9263, 14.5041, 35.6095)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135A2 #35B144
analogous
#8235B1 #B135A2 #B13564
triadic
#B135A2 #A2B135 #35A2B1
tetradic
#B135A2 #B18235 #35B144 #3564B1
square
#B135A2 #B18235 #35B144 #3564B1
split-complementary
#B135A2 #64B135 #35B182
monochromatic
#53194C #822777 #B135A2 #CD57BE #DB86D0

Accessibility & contrast

On white

5.38
#B135A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B135A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135A2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135A2#FFFFFF#000000##FFFFFF
##B135A21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#B94067
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b135a2;
/* rgb */ color: rgb(177, 53, 162);
/* oklch */ color: oklch(55.2% 0.199 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc77be',
    500: '#b135a2',
    950: '#000000',
  },
}
SCSS
$custom: #b135a2;
$custom-light: #cc77be;
$custom-dark: #000000;
JSON
{
  "hex": "#b135a2",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 307.258,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.19906,
    "h": 333.2
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#B135A2
secondary
#7DC486
accent
#DD5C4B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B135A2

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

Preview Lab → · Contrast checker → · Palette generator →

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