#B135C2#B135C2

#B135C2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.224 H 322.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B135C2
RGBrgb(177, 53, 194)
HSLhsl(293, 57%, 48%)
HSVhsv(293, 73%, 76%)
CMYKcmyk(8.8%, 72.7%, 0%, 23.9%)
CIE-LABlab(46.70, 66.90, -48.77)
CIE-LCHlch(46.70, 82.79, 323.91°)
OKLaboklab(56.98% 0.1781 -0.1362)
OKLCHoklch(56.98% 0.224 322.6)
XYZxyz(29.1412, 15.7900, 52.5413)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135C2 #46C235
analogous
#6A35C2 #B135C2 #C2358C
triadic
#B135C2 #C2B135 #35C2B1
tetradic
#B135C2 #C26A35 #46C235 #358CC2
square
#B135C2 #C26A35 #46C235 #358CC2
split-complementary
#B135C2 #8CC235 #35C26A
monochromatic
#591B62 #852892 #B135C2 #C660D4 #D791E1

Accessibility & contrast

On white

5.05
#B135C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B135C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135C2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135C2#FFFFFF#000000##FFFFFF
##B135C21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#4A73BF
Tritanopia (blue-blind)
#B34F79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b135c2;
/* rgb */ color: rgb(177, 53, 194);
/* oklch */ color: oklch(57.0% 0.224 322.6);
Tailwind
colors: {
  custom: {
    50: '#cc78d5',
    500: '#b135c2',
    950: '#000000',
  },
}
SCSS
$custom: #b135c2;
$custom-light: #cc78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b135c2",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 292.766,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.22422,
    "h": 322.6
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#B135C2
secondary
#8FCC87
accent
#E0475A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B135C2

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

Preview Lab → · Contrast checker → · Palette generator →

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