#B13CD4#B13CD4

#B13CD4 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.232 H 317.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B13CD4
RGBrgb(177, 60, 212)
HSLhsl(286, 64%, 53%)
HSVhsv(286, 72%, 83%)
CMYKcmyk(16.5%, 71.7%, 0%, 16.9%)
CIE-LABlab(48.68, 67.70, -55.98)
CIE-LCHlch(48.68, 87.85, 320.41°)
OKLaboklab(58.74% 0.1701 -0.1574)
OKLCHoklch(58.74% 0.232 317.2)
XYZxyz(31.6292, 17.3336, 63.9542)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CD4 #5FD43C
analogous
#653CD4 #B13CD4 #D43CAB
triadic
#B13CD4 #D4B13C #3CD4B1
tetradic
#B13CD4 #D4653C #5FD43C #3CABD4
square
#B13CD4 #D4653C #5FD43C #3CABD4
split-complementary
#B13CD4 #ABD43C #3CD465
monochromatic
#651B7B #8E26AD #B13CD4 #C56EDF #D9A0EA

Accessibility & contrast

On white

4.70
#B13CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B13CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CD4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CD4#FFFFFF#000000##FFFFFF
##B13CD41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#AF5B85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b13cd4;
/* rgb */ color: rgb(177, 60, 212);
/* oklch */ color: oklch(58.7% 0.232 317.2);
Tailwind
colors: {
  custom: {
    50: '#cc7ce2',
    500: '#b13cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b13cd4;
$custom-light: #cc7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#b13cd4",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 286.184,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.23173,
    "h": 317.2
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#B13CD4
secondary
#A4D795
accent
#E74167
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B13CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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