#B130DB#B130DB

#B130DB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.2% C 0.250 H 316.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B130DB
RGBrgb(177, 48, 219)
HSLhsl(285, 70%, 52%)
HSVhsv(285, 78%, 86%)
CMYKcmyk(19.2%, 78.1%, 0%, 14.1%)
CIE-LABlab(47.72, 73.07, -61.52)
CIE-LCHlch(47.72, 95.52, 319.90°)
OKLaboklab(58.21% 0.1795 -0.1736)
OKLCHoklch(58.21% 0.25 316)
XYZxyz(31.9726, 16.5768, 68.5196)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130DB #5ADB30
analogous
#5B30DB #B130DB #DB30B0
triadic
#B130DB #DBB130 #30DBB1
tetradic
#B130DB #DB5B30 #5ADB30 #30B0DB
square
#B130DB #DB5B30 #5ADB30 #30B0DB
split-complementary
#B130DB #B0DB30 #30DB5B
monochromatic
#62157B #8C1EAF #B130DB #C564E4 #D898ED

Accessibility & contrast

On white

4.87
#B130DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B130DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130DB#FFFFFF#000000##FFFFFF
##B130DB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b130db;
/* rgb */ color: rgb(177, 48, 219);
/* oklch */ color: oklch(58.2% 0.250 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd77e7',
    500: '#b130db',
    950: '#000000',
  },
}
SCSS
$custom: #b130db;
$custom-light: #cd77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b130db",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 285.263,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.24971,
    "h": 316
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#B130DB
secondary
#A0D98E
accent
#ED3B66
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B130DB

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

Preview Lab → · Contrast checker → · Palette generator →

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