#B34EAF#B34EAF

#B34EAF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.176 H 329.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B34EAF
RGBrgb(179, 78, 175)
HSLhsl(302, 40%, 50%)
HSVhsv(302, 56%, 70%)
CMYKcmyk(0%, 56.4%, 2.2%, 29.8%)
CIE-LABlab(49.65, 53.82, -32.99)
CIE-LCHlch(49.65, 63.13, 328.49°)
OKLaboklab(58.85% 0.1513 -0.0906)
OKLCHoklch(58.85% 0.176 329.1)
XYZxyz(29.0523, 18.1295, 42.5182)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EAF #4EB352
analogous
#844EB3 #B34EAF #B34E7C
triadic
#B34EAF #AFB34E #4EAFB3
tetradic
#B34EAF #B3844E #4EB352 #4E7CB3
square
#B34EAF #B3844E #4EB352 #4E7CB3
split-complementary
#B34EAF #7CB34E #4EB384
monochromatic
#5E285C #893B86 #B34EAF #C579C2 #D8A4D6

Accessibility & contrast

On white

4.54
#B34EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B34EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EAF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EAF#FFFFFF#000000##000000
##B34EAF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#B95977
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34eaf;
/* rgb */ color: rgb(179, 78, 175);
/* oklch */ color: oklch(58.9% 0.176 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc85c7',
    500: '#b34eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b34eaf;
$custom-light: #cc85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34eaf",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 302.376,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.17631,
    "h": 329.1
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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