#B135C4#B135C4

#B135C4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.226 H 322.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B135C4
RGBrgb(177, 53, 196)
HSLhsl(292, 57%, 49%)
HSVhsv(292, 73%, 77%)
CMYKcmyk(9.7%, 73%, 0%, 23.1%)
CIE-LABlab(46.82, 67.26, -49.74)
CIE-LCHlch(46.82, 83.65, 323.51°)
OKLaboklab(57.1% 0.178 -0.1391)
OKLCHoklch(57.1% 0.226 322)
XYZxyz(29.3673, 15.8805, 53.7322)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135C4 #48C435
analogous
#6A35C4 #B135C4 #C43590
triadic
#B135C4 #C4B135 #35C4B1
tetradic
#B135C4 #C46A35 #48C435 #3590C4
square
#B135C4 #C46A35 #48C435 #3590C4
split-complementary
#B135C4 #90C435 #35C46A
monochromatic
#5A1B64 #852894 #B135C4 #C562D4 #D792E1

Accessibility & contrast

On white

5.03
#B135C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B135C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135C4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135C4#FFFFFF#000000##FFFFFF
##B135C41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#4974C1
Tritanopia (blue-blind)
#B3507A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b135c4;
/* rgb */ color: rgb(177, 53, 196);
/* oklch */ color: oklch(57.1% 0.226 322.0);
Tailwind
colors: {
  custom: {
    50: '#cc79d6',
    500: '#b135c4',
    950: '#000000',
  },
}
SCSS
$custom: #b135c4;
$custom-light: #cc79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b135c4",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 292.028,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.22586,
    "h": 322
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#B135C4
secondary
#91CC88
accent
#E1475C
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B135C4

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

Preview Lab → · Contrast checker → · Palette generator →

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