#B135B2#B135B2

#B135B2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.211 H 327.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B135B2
RGBrgb(177, 53, 178)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0.6%, 70.2%, 0%, 30.2%)
CIE-LABlab(45.78, 64.15, -40.87)
CIE-LCHlch(45.78, 76.06, 327.50°)
OKLaboklab(56.03% 0.1785 -0.1132)
OKLCHoklch(56.03% 0.211 327.6)
XYZxyz(27.4401, 15.1096, 43.5820)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135B2 #36B235
analogous
#7235B2 #B135B2 #B23574
triadic
#B135B2 #B2B135 #35B2B1
tetradic
#B135B2 #B27235 #36B235 #3574B2
square
#B135B2 #B27235 #36B235 #3574B2
split-complementary
#B135B2 #74B235 #35B272
monochromatic
#531954 #822783 #B135B2 #CC57CD #DA86DB

Accessibility & contrast

On white

5.22
#B135B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B135B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135B2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135B2#FFFFFF#000000##FFFFFF
##B135B21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B6
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#B64870
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b135b2;
/* rgb */ color: rgb(177, 53, 178);
/* oklch */ color: oklch(56.0% 0.211 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc78c9',
    500: '#b135b2',
    950: '#000000',
  },
}
SCSS
$custom: #b135b2;
$custom-light: #cc78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b135b2",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 299.52,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.21134,
    "h": 327.6
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#B135B2
secondary
#7FC57E
accent
#DD4A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B135B2

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

Preview Lab → · Contrast checker → · Palette generator →

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