#B318AE#B318AE

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

Color values

HEX#B318AE
RGBrgb(179, 24, 174)
HSLhsl(302, 76%, 40%)
HSVhsv(302, 87%, 70%)
CMYKcmyk(0%, 86.6%, 2.8%, 29.8%)
CIE-LABlab(43.20, 71.68, -42.59)
CIE-LCHlch(43.20, 83.38, 329.29°)
OKLaboklab(54.19% 0.2027 -0.118)
OKLCHoklch(54.19% 0.235 329.8)
XYZxyz(26.5569, 13.2952, 41.2037)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B318AE #18B31D
analogous
#6A18B3 #B318AE #B31861
triadic
#B318AE #AEB318 #18AEB3
tetradic
#B318AE #B36A18 #18B31D #1861B3
square
#B318AE #B36A18 #18B31D #1861B3
split-complementary
#B318AE #61B318 #18B36A
monochromatic
#470A45 #7D117A #B318AE #E226DC #E95CE5

Accessibility & contrast

On white

5.74
#B318AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B318AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B318AE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B318AE#FFFFFF#000000##FFFFFF
##B318AE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b318ae;
/* rgb */ color: rgb(179, 24, 174);
/* oklch */ color: oklch(54.2% 0.235 329.8);
Tailwind
colors: {
  custom: {
    50: '#ce6ec7',
    500: '#b318ae',
    950: '#000000',
  },
}
SCSS
$custom: #b318ae;
$custom-light: #ce6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b318ae",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 174
  },
  "hsl": {
    "h": 301.935,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.23452,
    "h": 329.8
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#B318AE
secondary
#5ACD5E
accent
#F33B35
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B318AE

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

Preview Lab → · Contrast checker → · Palette generator →

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