#B631AE#B631AE

#B631AE is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.215 H 330.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B631AE
RGBrgb(182, 49, 174)
HSLhsl(304, 58%, 45%)
HSVhsv(304, 73%, 71%)
CMYKcmyk(0%, 73.1%, 4.4%, 28.6%)
CIE-LABlab(45.91, 65.97, -38.27)
CIE-LCHlch(45.91, 76.26, 329.88°)
OKLaboklab(56.21% 0.1876 -0.1055)
OKLCHoklch(56.21% 0.215 330.6)
XYZxyz(28.0296, 15.1999, 41.4938)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631AE #31B639
analogous
#7B31B6 #B631AE #B6316B
triadic
#B631AE #AEB631 #31AEB6
tetradic
#B631AE #B67B31 #31B639 #316BB6
square
#B631AE #B67B31 #31B639 #316BB6
split-complementary
#B631AE #6BB631 #31B67B
monochromatic
#561752 #862480 #B631AE #D153C9 #DE84D8

Accessibility & contrast

On white

5.20
#B631AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B631AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631AE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631AE#FFFFFF#000000##FFFFFF
##B631AE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#BD426D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b631ae;
/* rgb */ color: rgb(182, 49, 174);
/* oklch */ color: oklch(56.2% 0.215 330.6);
Tailwind
colors: {
  custom: {
    50: '#d077c6',
    500: '#b631ae',
    950: '#000000',
  },
}
SCSS
$custom: #b631ae;
$custom-light: #d077c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b631ae",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 303.609,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.21519,
    "h": 330.6
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#B631AE
secondary
#7CC780
accent
#E15047
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631AE

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

Preview Lab → · Contrast checker → · Palette generator →

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