#B047DC#B047DC

#B047DC is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.226 H 314.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B047DC
RGBrgb(176, 71, 220)
HSLhsl(282, 68%, 57%)
HSVhsv(282, 68%, 86%)
CMYKcmyk(20%, 67.7%, 0%, 13.7%)
CIE-LABlab(50.58, 64.72, -57.50)
CIE-LCHlch(50.58, 86.57, 318.38°)
OKLaboklab(60.23% 0.1571 -0.1619)
OKLCHoklch(60.23% 0.226 314.1)
XYZxyz(33.0738, 18.9050, 69.6031)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047DC #73DC47
analogous
#6647DC #B047DC #DC47BE
triadic
#B047DC #DCB047 #47DCB0
tetradic
#B047DC #DC6647 #73DC47 #47BEDC
square
#B047DC #DC6647 #73DC47 #47BEDC
split-complementary
#B047DC #BEDC47 #47DC66
monochromatic
#6C1B8E #9325C1 #B047DC #C67AE6 #DCAEF0

Accessibility & contrast

On white

4.39
#B047DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B047DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B047DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047DC#FFFFFF#000000##000000
##B047DC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#AC658C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b047dc;
/* rgb */ color: rgb(176, 71, 220);
/* oklch */ color: oklch(60.2% 0.226 314.1);
Tailwind
colors: {
  custom: {
    50: '#cc82e8',
    500: '#b047dc',
    950: '#000000',
  },
}
SCSS
$custom: #b047dc;
$custom-light: #cc82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b047dc",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 282.282,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.22563,
    "h": 314.1
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#B047DC
secondary
#B3DEA1
accent
#EB3D70
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B047DC

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

Preview Lab → · Contrast checker → · Palette generator →

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