#B135BA#B135BA

#B135BA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.218 H 325.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B135BA
RGBrgb(177, 53, 186)
HSLhsl(296, 56%, 47%)
HSVhsv(296, 72%, 73%)
CMYKcmyk(4.8%, 71.5%, 0%, 27.1%)
CIE-LABlab(46.23, 65.51, -44.85)
CIE-LCHlch(46.23, 79.39, 325.60°)
OKLaboklab(56.5% 0.1784 -0.1248)
OKLCHoklch(56.5% 0.218 325)
XYZxyz(28.2668, 15.4403, 47.9363)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135BA #3EBA35
analogous
#6F35BA #B135BA #BA3581
triadic
#B135BA #BAB135 #35BAB1
tetradic
#B135BA #BA6F35 #3EBA35 #3581BA
square
#B135BA #BA6F35 #3EBA35 #3581BA
split-complementary
#B135BA #81BA35 #35BA6F
monochromatic
#561A5B #84278A #B135BA #C95CD0 #D88BDE

Accessibility & contrast

On white

5.14
#B135BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B135BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135BA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135BA#FFFFFF#000000##FFFFFF
##B135BA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#B54B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b135ba;
/* rgb */ color: rgb(177, 53, 186);
/* oklch */ color: oklch(56.5% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#cc78cf',
    500: '#b135ba',
    950: '#000000',
  },
}
SCSS
$custom: #b135ba;
$custom-light: #cc78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b135ba",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 295.94,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.21773,
    "h": 325
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#B135BA
secondary
#87C882
accent
#DF4953
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B135BA

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

Preview Lab → · Contrast checker → · Palette generator →

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