#B047E2#B047E2

#B047E2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.231 H 312.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B047E2
RGBrgb(176, 71, 226)
HSLhsl(281, 73%, 58%)
HSVhsv(281, 69%, 89%)
CMYKcmyk(22.1%, 68.6%, 0%, 11.4%)
CIE-LABlab(50.95, 65.93, -60.30)
CIE-LCHlch(50.95, 89.35, 317.56°)
OKLaboklab(60.62% 0.1566 -0.1701)
OKLCHoklch(60.62% 0.231 312.6)
XYZxyz(33.8827, 19.2285, 73.8634)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047E2 #79E247
analogous
#6247E2 #B047E2 #E247C7
triadic
#B047E2 #E2B047 #47E2B0
tetradic
#B047E2 #E26247 #79E247 #47C7E2
square
#B047E2 #E26247 #79E247 #47C7E2
split-complementary
#B047E2 #C7E247 #47E262
monochromatic
#6E1897 #9420CC #B047E2 #C77CEA #DDB1F3

Accessibility & contrast

On white

4.33
#B047E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B047E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B047E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047E2#FFFFFF#000000##000000
##B047E21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#AA678F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b047e2;
/* rgb */ color: rgb(176, 71, 226);
/* oklch */ color: oklch(60.6% 0.231 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc82ec',
    500: '#b047e2',
    950: '#000000',
  },
}
SCSS
$custom: #b047e2;
$custom-light: #cc82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b047e2",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 280.645,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.23124,
    "h": 312.6
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#B047E2
secondary
#B7E1A4
accent
#EF3873
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B047E2

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

Preview Lab → · Contrast checker → · Palette generator →

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