#B130B2#B130B2

#B130B2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.217 H 327.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B130B2
RGBrgb(177, 48, 178)
HSLhsl(300, 58%, 44%)
HSVhsv(300, 73%, 70%)
CMYKcmyk(0.6%, 73%, 0%, 30.2%)
CIE-LABlab(45.19, 65.84, -41.81)
CIE-LCHlch(45.19, 78.00, 327.58°)
OKLaboklab(55.61% 0.1832 -0.1159)
OKLCHoklch(55.61% 0.217 327.7)
XYZxyz(27.2239, 14.6773, 43.5100)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130B2 #31B230
analogous
#7030B2 #B130B2 #B23072
triadic
#B130B2 #B2B130 #30B2B1
tetradic
#B130B2 #B27030 #31B230 #3072B2
square
#B130B2 #B27030 #31B230 #3072B2
split-complementary
#B130B2 #72B230 #30B270
monochromatic
#511652 #812382 #B130B2 #CF50D0 #DC80DD

Accessibility & contrast

On white

5.34
#B130B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B130B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130B2#FFFFFF#000000##FFFFFF
##B130B21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B6
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#B6456F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b130b2;
/* rgb */ color: rgb(177, 48, 178);
/* oklch */ color: oklch(55.6% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc76c9',
    500: '#b130b2',
    950: '#000000',
  },
}
SCSS
$custom: #b130b2;
$custom-light: #cc76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b130b2",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 299.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.21683,
    "h": 327.7
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#B130B2
secondary
#79C678
accent
#E14748
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B130B2

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

Preview Lab → · Contrast checker → · Palette generator →

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