#B31EAE#B31EAE

#B31EAE is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.231 H 329.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B31EAE
RGBrgb(179, 30, 174)
HSLhsl(302, 71%, 41%)
HSVhsv(302, 83%, 70%)
CMYKcmyk(0%, 83.2%, 2.8%, 29.8%)
CIE-LABlab(43.61, 70.50, -41.94)
CIE-LCHlch(43.61, 82.03, 329.25°)
OKLaboklab(54.47% 0.1993 -0.1161)
OKLCHoklch(54.47% 0.231 329.8)
XYZxyz(26.6945, 13.5704, 41.2496)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31EAE #1EB323
analogous
#6D1EB3 #B31EAE #B31E64
triadic
#B31EAE #AEB31E #1EAEB3
tetradic
#B31EAE #B36D1E #1EB323 #1E64B3
square
#B31EAE #B36D1E #1EB323 #1E64B3
split-complementary
#B31EAE #64B31E #1EB36D
monochromatic
#4A0C48 #7F157B #B31EAE #DD32D7 #E566E1

Accessibility & contrast

On white

5.65
#B31EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B31EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31EAE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31EAE#FFFFFF#000000##FFFFFF
##B31EAE1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#BA3868
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b31eae;
/* rgb */ color: rgb(179, 30, 174);
/* oklch */ color: oklch(54.5% 0.231 329.8);
Tailwind
colors: {
  custom: {
    50: '#ce70c7',
    500: '#b31eae',
    950: '#000000',
  },
}
SCSS
$custom: #b31eae;
$custom-light: #ce70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b31eae",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 302.013,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.23065,
    "h": 329.8
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#B31EAE
secondary
#62CB66
accent
#EE403A
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B31EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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