#B317AE#B317AE

#B317AE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.235 H 329.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B317AE
RGBrgb(179, 23, 174)
HSLhsl(302, 77%, 40%)
HSVhsv(302, 87%, 70%)
CMYKcmyk(0%, 87.2%, 2.8%, 29.8%)
CIE-LABlab(43.14, 71.86, -42.68)
CIE-LCHlch(43.14, 83.58, 329.29°)
OKLaboklab(54.14% 0.2032 -0.1182)
OKLCHoklch(54.14% 0.235 329.8)
XYZxyz(26.5367, 13.2547, 41.1970)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B317AE #17B31C
analogous
#6A17B3 #B317AE #B31760
triadic
#B317AE #AEB317 #17AEB3
tetradic
#B317AE #B36A17 #17B31C #1760B3
square
#B317AE #B36A17 #17B31C #1760B3
split-complementary
#B317AE #60B317 #17B36A
monochromatic
#470945 #7D1079 #B317AE #E324DD #EA5BE5

Accessibility & contrast

On white

5.75
#B317AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B317AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B317AE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B317AE#FFFFFF#000000##FFFFFF
##B317AE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#BA3567
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b317ae;
/* rgb */ color: rgb(179, 23, 174);
/* oklch */ color: oklch(54.1% 0.235 329.8);
Tailwind
colors: {
  custom: {
    50: '#ce6ec7',
    500: '#b317ae',
    950: '#000000',
  },
}
SCSS
$custom: #b317ae;
$custom-light: #ce6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b317ae",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 174
  },
  "hsl": {
    "h": 301.923,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.2351,
    "h": 329.8
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#B317AE
secondary
#58CD5C
accent
#F43A34
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B317AE

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

Preview Lab → · Contrast checker → · Palette generator →

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