#B135B7#B135B7

#B135B7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.215 H 326.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B135B7
RGBrgb(177, 53, 183)
HSLhsl(297, 55%, 46%)
HSVhsv(297, 71%, 72%)
CMYKcmyk(3.3%, 71%, 0%, 28.2%)
CIE-LABlab(46.06, 64.99, -43.37)
CIE-LCHlch(46.06, 78.13, 326.29°)
OKLaboklab(56.32% 0.1785 -0.1205)
OKLCHoklch(56.32% 0.215 326)
XYZxyz(27.9512, 15.3141, 46.2743)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135B7 #3BB735
analogous
#7035B7 #B135B7 #B7357C
triadic
#B135B7 #B7B135 #35B7B1
tetradic
#B135B7 #B77035 #3BB735 #357CB7
square
#B135B7 #B77035 #3BB735 #357CB7
split-complementary
#B135B7 #7CB735 #35B770
monochromatic
#551A58 #832788 #B135B7 #CA5ACF #D989DD

Accessibility & contrast

On white

5.17
#B135B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B135B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135B7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135B7#FFFFFF#000000##FFFFFF
##B135B71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BB
Deuteranopia (green-blind)
#5272B4
Tritanopia (blue-blind)
#B54A73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b135b7;
/* rgb */ color: rgb(177, 53, 183);
/* oklch */ color: oklch(56.3% 0.215 326.0);
Tailwind
colors: {
  custom: {
    50: '#cc78cd',
    500: '#b135b7',
    950: '#000000',
  },
}
SCSS
$custom: #b135b7;
$custom-light: #cc78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b135b7",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 297.231,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56321,
    "c": 0.21532,
    "h": 326
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#B135B7
secondary
#84C781
accent
#DE4950
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B135B7

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

Preview Lab → · Contrast checker → · Palette generator →

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