#B13CD8#B13CD8

#B13CD8 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.235 H 316.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B13CD8
RGBrgb(177, 60, 216)
HSLhsl(285, 67%, 54%)
HSVhsv(285, 72%, 85%)
CMYKcmyk(18.1%, 72.2%, 0%, 15.3%)
CIE-LABlab(48.93, 68.47, -57.86)
CIE-LCHlch(48.93, 89.64, 319.80°)
OKLaboklab(59% 0.1697 -0.1629)
OKLCHoklch(59% 0.235 316.2)
XYZxyz(32.1401, 17.5380, 66.6446)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CD8 #63D83C
analogous
#633CD8 #B13CD8 #D83CB1
triadic
#B13CD8 #D8B13C #3CD8B1
tetradic
#B13CD8 #D8633C #63D83C #3CB1D8
square
#B13CD8 #D8633C #63D83C #3CB1D8
split-complementary
#B13CD8 #B1D83C #3CD863
monochromatic
#661A80 #8F24B3 #B13CD8 #C56FE2 #DAA2EC

Accessibility & contrast

On white

4.66
#B13CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B13CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CD8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CD8#FFFFFF#000000##FFFFFF
##B13CD81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#3B77D5
Tritanopia (blue-blind)
#AE5D87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b13cd8;
/* rgb */ color: rgb(177, 60, 216);
/* oklch */ color: oklch(59.0% 0.235 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd7de5',
    500: '#b13cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b13cd8;
$custom-light: #cd7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#b13cd8",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.23521,
    "h": 316.2
  },
  "luminance": 0.17537
}

Semantic roles & 50–950 ramp

primary
#B13CD8
secondary
#A7D997
accent
#EA3E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B13CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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