#B130DC#B130DC

#B130DC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.3% C 0.251 H 315.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B130DC
RGBrgb(177, 48, 220)
HSLhsl(285, 71%, 53%)
HSVhsv(285, 78%, 86%)
CMYKcmyk(19.5%, 78.2%, 0%, 13.7%)
CIE-LABlab(47.79, 73.26, -61.98)
CIE-LCHlch(47.79, 95.96, 319.77°)
OKLaboklab(58.28% 0.1794 -0.1749)
OKLCHoklch(58.28% 0.251 315.7)
XYZxyz(32.1046, 16.6296, 69.2150)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130DC #5BDC30
analogous
#5B30DC #B130DC #DC30B1
triadic
#B130DC #DCB130 #30DCB1
tetradic
#B130DC #DC5B30 #5BDC30 #30B1DC
square
#B130DC #DC5B30 #5BDC30 #30B1DC
split-complementary
#B130DC #B1DC30 #30DC5B
monochromatic
#63157D #8C1EB1 #B130DC #C564E5 #D899EE

Accessibility & contrast

On white

4.85
#B130DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B130DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130DC#FFFFFF#000000##FFFFFF
##B130DC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#AE5886
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b130dc;
/* rgb */ color: rgb(177, 48, 220);
/* oklch */ color: oklch(58.3% 0.251 315.7);
Tailwind
colors: {
  custom: {
    50: '#cd77e8',
    500: '#b130dc',
    950: '#000000',
  },
}
SCSS
$custom: #b130dc;
$custom-light: #cd77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b130dc",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 220
  },
  "hsl": {
    "h": 285,
    "s": 71.074,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.25053,
    "h": 315.7
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#B130DC
secondary
#A1D98F
accent
#EE3A67
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B130DC

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

Preview Lab → · Contrast checker → · Palette generator →

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