#B136D9#B136D9

#B136D9 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.242 H 316.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B136D9
RGBrgb(177, 54, 217)
HSLhsl(285, 68%, 53%)
HSVhsv(285, 75%, 85%)
CMYKcmyk(18.4%, 75.1%, 0%, 14.9%)
CIE-LABlab(48.26, 70.77, -59.52)
CIE-LCHlch(48.26, 92.47, 319.94°)
OKLaboklab(58.55% 0.175 -0.1677)
OKLCHoklch(58.55% 0.242 316.2)
XYZxyz(31.9731, 16.9965, 67.2286)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B136D9 #5ED936
analogous
#5F36D9 #B136D9 #D936AF
triadic
#B136D9 #D9B136 #36D9B1
tetradic
#B136D9 #D95F36 #5ED936 #36AFD9
square
#B136D9 #D95F36 #5ED936 #36AFD9
split-complementary
#B136D9 #AFD936 #36D95F
monochromatic
#64187D #8D21B0 #B136D9 #C569E3 #D99DEC

Accessibility & contrast

On white

4.77
#B136D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B136D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B136D9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B136D9#FFFFFF#000000##FFFFFF
##B136D91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#AE5A86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b136d9;
/* rgb */ color: rgb(177, 54, 217);
/* oklch */ color: oklch(58.5% 0.242 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ae6',
    500: '#b136d9',
    950: '#000000',
  },
}
SCSS
$custom: #b136d9;
$custom-light: #cd7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b136d9",
  "rgb": {
    "r": 177,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 285.276,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.24236,
    "h": 316.2
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#B136D9
secondary
#A4D992
accent
#EB3D68
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B136D9

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

Preview Lab → · Contrast checker → · Palette generator →

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