#B13CD2#B13CD2

#B13CD2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.230 H 317.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B13CD2
RGBrgb(177, 60, 210)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 71%, 82%)
CMYKcmyk(15.7%, 71.4%, 0%, 17.6%)
CIE-LABlab(48.55, 67.32, -55.04)
CIE-LCHlch(48.55, 86.96, 320.74°)
OKLaboklab(58.61% 0.1703 -0.1546)
OKLCHoklch(58.61% 0.23 317.8)
XYZxyz(31.3785, 17.2334, 62.6338)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13CD2 #5DD23C
analogous
#663CD2 #B13CD2 #D23CA8
triadic
#B13CD2 #D2B13C #3CD2B1
tetradic
#B13CD2 #D2663C #5DD23C #3CA8D2
square
#B13CD2 #D2663C #5DD23C #3CA8D2
split-complementary
#B13CD2 #A8D23C #3CD266
monochromatic
#641C78 #8D27AA #B13CD2 #C56EDD #D99FE9

Accessibility & contrast

On white

4.72
#B13CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B13CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13CD2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13CD2#FFFFFF#000000##FFFFFF
##B13CD21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#B05A84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b13cd2;
/* rgb */ color: rgb(177, 60, 210);
/* oklch */ color: oklch(58.6% 0.230 317.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ce0',
    500: '#b13cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b13cd2;
$custom-light: #cc7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b13cd2",
  "rgb": {
    "r": 177,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 286.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.22999,
    "h": 317.8
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#B13CD2
secondary
#A3D594
accent
#E64266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B13CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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