#B131DC#B131DC

#B131DC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.4% C 0.250 H 315.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B131DC
RGBrgb(177, 49, 220)
HSLhsl(285, 71%, 53%)
HSVhsv(285, 78%, 86%)
CMYKcmyk(19.5%, 77.7%, 0%, 13.7%)
CIE-LABlab(47.90, 72.95, -61.81)
CIE-LCHlch(47.90, 95.62, 319.73°)
OKLaboklab(58.36% 0.1786 -0.1744)
OKLCHoklch(58.36% 0.25 315.7)
XYZxyz(32.1460, 16.7123, 69.2288)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131DC #5CDC31
analogous
#5B31DC #B131DC #DC31B2
triadic
#B131DC #DCB131 #31DCB1
tetradic
#B131DC #DC5B31 #5CDC31 #31B2DC
square
#B131DC #DC5B31 #5CDC31 #31B2DC
split-complementary
#B131DC #B2DC31 #31DC5B
monochromatic
#63157D #8D1EB2 #B131DC #C565E5 #D99AEE

Accessibility & contrast

On white

4.84
#B131DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B131DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131DC#FFFFFF#000000##FFFFFF
##B131DC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#AE5987
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b131dc;
/* rgb */ color: rgb(177, 49, 220);
/* oklch */ color: oklch(58.4% 0.250 315.7);
Tailwind
colors: {
  custom: {
    50: '#cd78e8',
    500: '#b131dc',
    950: '#000000',
  },
}
SCSS
$custom: #b131dc;
$custom-light: #cd78e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b131dc",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 220
  },
  "hsl": {
    "h": 284.912,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.24963,
    "h": 315.7
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B131DC

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

Preview Lab → · Contrast checker → · Palette generator →

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