#B04FA3#B04FA3

#B04FA3 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.163 H 332.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B04FA3
RGBrgb(176, 79, 163)
HSLhsl(308, 38%, 50%)
HSVhsv(308, 55%, 69%)
CMYKcmyk(0%, 55.1%, 7.4%, 31%)
CIE-LABlab(48.84, 50.44, -27.23)
CIE-LCHlch(48.84, 57.32, 331.64°)
OKLaboklab(57.99% 0.1447 -0.0742)
OKLCHoklch(57.99% 0.163 332.9)
XYZxyz(27.3113, 17.4683, 36.5765)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FA3 #4FB05C
analogous
#8C4FB0 #B04FA3 #B04F73
triadic
#B04FA3 #A3B04F #4FA3B0
tetradic
#B04FA3 #B08C4F #4FB05C #4F73B0
square
#B04FA3 #B08C4F #4FB05C #4F73B0
split-complementary
#B04FA3 #73B04F #4FB08C
monochromatic
#5C2955 #863C7C #B04FA3 #C379B9 #D6A3CF

Accessibility & contrast

On white

4.67
#B04FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B04FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04FA3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FA3#FFFFFF#000000##FFFFFF
##B04FA31.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#B75672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04fa3;
/* rgb */ color: rgb(176, 79, 163);
/* oklch */ color: oklch(58.0% 0.163 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca85be',
    500: '#b04fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b04fa3;
$custom-light: #ca85be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fa3",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 308.041,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.16261,
    "h": 332.9
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#B04FA3
secondary
#98C39D
accent
#CE695A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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