#B031DC#B031DC

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

Color values

HEX#B031DC
RGBrgb(176, 49, 220)
HSLhsl(285, 71%, 53%)
HSVhsv(285, 78%, 86%)
CMYKcmyk(20%, 77.7%, 0%, 13.7%)
CIE-LABlab(47.75, 72.77, -62.06)
CIE-LCHlch(47.75, 95.64, 319.54°)
OKLaboklab(58.22% 0.1774 -0.1752)
OKLCHoklch(58.22% 0.249 315.4)
XYZxyz(31.9190, 16.5953, 69.2181)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031DC #5DDC31
analogous
#5A31DC #B031DC #DC31B3
triadic
#B031DC #DCB031 #31DCB0
tetradic
#B031DC #DC5A31 #5DDC31 #31B3DC
square
#B031DC #DC5A31 #5DDC31 #31B3DC
split-complementary
#B031DC #B3DC31 #31DC5A
monochromatic
#63157D #8C1EB2 #B031DC #C465E5 #D89AEE

Accessibility & contrast

On white

4.86
#B031DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B031DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031DC#FFFFFF#000000##FFFFFF
##B031DC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b031dc;
/* rgb */ color: rgb(176, 49, 220);
/* oklch */ color: oklch(58.2% 0.249 315.4);
Tailwind
colors: {
  custom: {
    50: '#cd78e8',
    500: '#b031dc',
    950: '#000000',
  },
}
SCSS
$custom: #b031dc;
$custom-light: #cd78e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b031dc",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 220
  },
  "hsl": {
    "h": 284.561,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.2493,
    "h": 315.4
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B031DC

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

Preview Lab → · Contrast checker → · Palette generator →

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