#B04FAF#B04FAF

#B04FAF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.173 H 327.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B04FAF
RGBrgb(176, 79, 175)
HSLhsl(301, 38%, 50%)
HSVhsv(301, 55%, 69%)
CMYKcmyk(0%, 55.1%, 0.6%, 31%)
CIE-LABlab(49.40, 52.53, -33.42)
CIE-LCHlch(49.40, 62.26, 327.54°)
OKLaboklab(58.58% 0.1465 -0.0919)
OKLCHoklch(58.58% 0.173 327.9)
XYZxyz(28.4379, 17.9189, 42.5100)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FAF #4FB050
analogous
#814FB0 #B04FAF #B04F7E
triadic
#B04FAF #AFB04F #4FAFB0
tetradic
#B04FAF #B0814F #4FB050 #4F7EB0
square
#B04FAF #B0814F #4FB050 #4F7EB0
split-complementary
#B04FAF #7EB04F #4FB081
monochromatic
#5C295B #863C85 #B04FAF #C379C2 #D6A3D5

Accessibility & contrast

On white

4.58
#B04FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B04FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FAF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FAF#FFFFFF#000000##000000
##B04FAF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#B55A78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04faf;
/* rgb */ color: rgb(176, 79, 175);
/* oklch */ color: oklch(58.6% 0.173 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca85c7',
    500: '#b04faf',
    950: '#000000',
  },
}
SCSS
$custom: #b04faf;
$custom-light: #ca85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04faf",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 300.619,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.58576,
    "c": 0.17295,
    "h": 327.9
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#B04FAF
secondary
#98C398
accent
#CE5B5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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