#B13FB2#B13FB2

#B13FB2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 57.0% C 0.199 H 327.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B13FB2
RGBrgb(177, 63, 178)
HSLhsl(299, 48%, 47%)
HSVhsv(299, 65%, 70%)
CMYKcmyk(0.6%, 64.6%, 0%, 30.2%)
CIE-LABlab(47.13, 60.36, -38.74)
CIE-LCHlch(47.13, 71.72, 327.31°)
OKLaboklab(57% 0.1678 -0.1071)
OKLCHoklch(57% 0.199 327.4)
XYZxyz(27.9444, 16.1183, 43.7501)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13FB2 #40B23F
analogous
#773FB2 #B13FB2 #B23F7A
triadic
#B13FB2 #B2B13F #3FB2B1
tetradic
#B13FB2 #B2773F #40B23F #3F7AB2
square
#B13FB2 #B2773F #40B23F #3F7AB2
split-complementary
#B13FB2 #7AB23F #3FB277
monochromatic
#571F58 #842F85 #B13FB2 #C866C9 #D893D9

Accessibility & contrast

On white

4.97
#B13FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B13FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13FB2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13FB2#FFFFFF#000000##FFFFFF
##B13FB21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#B64F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b13fb2;
/* rgb */ color: rgb(177, 63, 178);
/* oklch */ color: oklch(57.0% 0.199 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb7dc9',
    500: '#b13fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b13fb2;
$custom-light: #cb7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b13fb2",
  "rgb": {
    "r": 177,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 299.478,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.19905,
    "h": 327.4
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#B13FB2
secondary
#89C489
accent
#D75052
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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