#B135B5#B135B5

#B135B5 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.214 H 326.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B135B5
RGBrgb(177, 53, 181)
HSLhsl(298, 55%, 46%)
HSVhsv(298, 71%, 71%)
CMYKcmyk(2.2%, 70.7%, 0%, 29%)
CIE-LABlab(45.95, 64.65, -42.37)
CIE-LCHlch(45.95, 77.30, 326.76°)
OKLaboklab(56.21% 0.1785 -0.1176)
OKLCHoklch(56.21% 0.214 326.6)
XYZxyz(27.7446, 15.2314, 45.1857)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135B5 #39B535
analogous
#7135B5 #B135B5 #B53579
triadic
#B135B5 #B5B135 #35B5B1
tetradic
#B135B5 #B57135 #39B535 #3579B5
square
#B135B5 #B57135 #39B535 #3579B5
split-complementary
#B135B5 #79B535 #35B571
monochromatic
#541956 #832786 #B135B5 #CB59CE #DA88DC

Accessibility & contrast

On white

5.19
#B135B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B135B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135B5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135B5#FFFFFF#000000##FFFFFF
##B135B51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#B64972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b135b5;
/* rgb */ color: rgb(177, 53, 181);
/* oklch */ color: oklch(56.2% 0.214 326.6);
Tailwind
colors: {
  custom: {
    50: '#cc78cc',
    500: '#b135b5',
    950: '#000000',
  },
}
SCSS
$custom: #b135b5;
$custom-light: #cc78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b135b5",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 298.125,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.21372,
    "h": 326.6
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#B135B5
secondary
#82C680
accent
#DE4A4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B135B5

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

Preview Lab → · Contrast checker → · Palette generator →

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