#B34FAF#B34FAF

#B34FAF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.175 H 329.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B34FAF
RGBrgb(179, 79, 175)
HSLhsl(302, 40%, 51%)
HSVhsv(302, 56%, 70%)
CMYKcmyk(0%, 55.9%, 2.2%, 29.8%)
CIE-LABlab(49.83, 53.36, -32.72)
CIE-LCHlch(49.83, 62.59, 328.48°)
OKLaboklab(58.98% 0.1499 -0.0898)
OKLCHoklch(58.98% 0.175 329.1)
XYZxyz(29.1239, 18.2727, 42.5421)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FAF #4FB353
analogous
#854FB3 #B34FAF #B34F7D
triadic
#B34FAF #AFB34F #4FAFB3
tetradic
#B34FAF #B3854F #4FB353 #4F7DB3
square
#B34FAF #B3854F #4FB353 #4F7DB3
split-complementary
#B34FAF #7DB34F #4FB385
monochromatic
#5F295D #893B86 #B34FAF #C57AC2 #D8A4D6

Accessibility & contrast

On white

4.51
#B34FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B34FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FAF#FFFFFF#000000##000000
##B34FAF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#B95978
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34faf;
/* rgb */ color: rgb(179, 79, 175);
/* oklch */ color: oklch(59.0% 0.175 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc85c7',
    500: '#b34faf',
    950: '#000000',
  },
}
SCSS
$custom: #b34faf;
$custom-light: #cc85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34faf",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 302.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58977,
    "c": 0.17478,
    "h": 329.1
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#B34FAF
secondary
#99C59A
accent
#D05D58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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