#B047B2#B047B2

#B047B2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.188 H 326.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B047B2
RGBrgb(176, 71, 178)
HSLhsl(299, 43%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(1.1%, 60.1%, 0%, 30.2%)
CIE-LABlab(48.20, 56.73, -37.06)
CIE-LCHlch(48.20, 67.76, 326.85°)
OKLaboklab(57.75% 0.1571 -0.1023)
OKLCHoklch(57.75% 0.188 326.9)
XYZxyz(28.1931, 16.9527, 43.8981)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047B2 #49B247
analogous
#7B47B2 #B047B2 #B2477F
triadic
#B047B2 #B2B047 #47B2B0
tetradic
#B047B2 #B27B47 #49B247 #477FB2
square
#B047B2 #B27B47 #49B247 #477FB2
split-complementary
#B047B2 #7FB247 #47B27B
monochromatic
#59245B #853686 #B047B2 #C470C6 #D69CD7

Accessibility & contrast

On white

4.78
#B047B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B047B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B047B2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047B2#FFFFFF#000000##FFFFFF
##B047B21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#B55576
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b047b2;
/* rgb */ color: rgb(176, 71, 178);
/* oklch */ color: oklch(57.7% 0.188 326.9);
Tailwind
colors: {
  custom: {
    50: '#ca81c9',
    500: '#b047b2',
    950: '#000000',
  },
}
SCSS
$custom: #b047b2;
$custom-light: #ca81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b047b2",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 298.879,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.18752,
    "h": 326.9
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#B047B2
secondary
#92C491
accent
#D35557
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B047B2

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

Preview Lab → · Contrast checker → · Palette generator →

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