#B345AF#B345AF

#B345AF is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.190 H 329.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B345AF
RGBrgb(179, 69, 175)
HSLhsl(302, 44%, 49%)
HSVhsv(302, 61%, 70%)
CMYKcmyk(0%, 61.5%, 2.2%, 29.8%)
CIE-LABlab(48.18, 57.85, -35.30)
CIE-LCHlch(48.18, 67.77, 328.61°)
OKLaboklab(57.78% 0.1627 -0.0972)
OKLCHoklch(57.78% 0.19 329.2)
XYZxyz(28.4561, 16.9370, 42.3195)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345AF #45B349
analogous
#8045B3 #B345AF #B34578
triadic
#B345AF #AFB345 #45AFB3
tetradic
#B345AF #B38045 #45B349 #4578B3
square
#B345AF #B38045 #45B349 #4578B3
split-complementary
#B345AF #78B345 #45B380
monochromatic
#5B2359 #873484 #B345AF #C76EC4 #D89AD6

Accessibility & contrast

On white

4.79
#B345AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B345AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345AF#FFFFFF#000000##FFFFFF
##B345AF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#B95174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b345af;
/* rgb */ color: rgb(179, 69, 175);
/* oklch */ color: oklch(57.8% 0.190 329.2);
Tailwind
colors: {
  custom: {
    50: '#cd80c7',
    500: '#b345af',
    950: '#000000',
  },
}
SCSS
$custom: #b345af;
$custom-light: #cd80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b345af",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 302.182,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.18952,
    "h": 329.2
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#B345AF
secondary
#8FC491
accent
#D45854
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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