#B135B3#B135B3

#B135B3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.212 H 327.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B135B3
RGBrgb(177, 53, 179)
HSLhsl(299, 54%, 45%)
HSVhsv(299, 70%, 70%)
CMYKcmyk(1.1%, 70.4%, 0%, 29.8%)
CIE-LABlab(45.84, 64.32, -41.37)
CIE-LCHlch(45.84, 76.47, 327.25°)
OKLaboklab(56.09% 0.1785 -0.1147)
OKLCHoklch(56.09% 0.212 327.3)
XYZxyz(27.5408, 15.1499, 44.1127)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135B3 #37B335
analogous
#7235B3 #B135B3 #B33576
triadic
#B135B3 #B3B135 #35B3B1
tetradic
#B135B3 #B37235 #37B335 #3576B3
square
#B135B3 #B37235 #37B335 #3576B3
split-complementary
#B135B3 #76B335 #35B372
monochromatic
#541955 #822784 #B135B3 #CC58CD #DA87DB

Accessibility & contrast

On white

5.21
#B135B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B135B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135B3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135B3#FFFFFF#000000##FFFFFF
##B135B31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#B64871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b135b3;
/* rgb */ color: rgb(177, 53, 179);
/* oklch */ color: oklch(56.1% 0.212 327.3);
Tailwind
colors: {
  custom: {
    50: '#cc78ca',
    500: '#b135b3',
    950: '#000000',
  },
}
SCSS
$custom: #b135b3;
$custom-light: #cc78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b135b3",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 299.048,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.21213,
    "h": 327.3
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#B135B3
secondary
#80C57F
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B135B3

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

Preview Lab → · Contrast checker → · Palette generator →

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