#B13DD2#B13DD2

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

Color values

HEX#B13DD2
RGBrgb(177, 61, 210)
HSLhsl(287, 62%, 53%)
HSVhsv(287, 71%, 82%)
CMYKcmyk(15.7%, 71%, 0%, 17.6%)
CIE-LABlab(48.68, 66.95, -54.82)
CIE-LCHlch(48.68, 86.53, 320.69°)
OKLaboklab(58.71% 0.1693 -0.154)
OKLCHoklch(58.71% 0.229 317.7)
XYZxyz(31.4314, 17.3391, 62.6514)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13DD2 #5ED23D
analogous
#663DD2 #B13DD2 #D23DA9
triadic
#B13DD2 #D2B13D #3DD2B1
tetradic
#B13DD2 #D2663D #5ED23D #3DA9D2
square
#B13DD2 #D2663D #5ED23D #3DA9D2
split-complementary
#B13DD2 #A9D23D #3DD266
monochromatic
#641C79 #8D28AA #B13DD2 #C56FDE #D9A0E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B13DD2#FFFFFF#000000##FFFFFF
##B13DD21.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)
#006CD6
Deuteranopia (green-blind)
#4277CF
Tritanopia (blue-blind)
#B05B84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b13dd2;
/* rgb */ color: rgb(177, 61, 210);
/* oklch */ color: oklch(58.7% 0.229 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc7de0',
    500: '#b13dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b13dd2;
$custom-light: #cc7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b13dd2",
  "rgb": {
    "r": 177,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 286.711,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.22886,
    "h": 317.7
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#B13DD2
secondary
#A4D695
accent
#E54266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B13DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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