#B631AD#B631AD

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

Color values

HEX#B631AD
RGBrgb(182, 49, 173)
HSLhsl(304, 58%, 45%)
HSVhsv(304, 73%, 71%)
CMYKcmyk(0%, 73.1%, 4.9%, 28.6%)
CIE-LABlab(45.85, 65.81, -37.76)
CIE-LCHlch(45.85, 75.87, 330.16°)
OKLaboklab(56.15% 0.1875 -0.104)
OKLCHoklch(56.15% 0.214 331)
XYZxyz(27.9325, 15.1611, 40.9823)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631AD #31B63A
analogous
#7C31B6 #B631AD #B6316B
triadic
#B631AD #ADB631 #31ADB6
tetradic
#B631AD #B67C31 #31B63A #316BB6
square
#B631AD #B67C31 #31B63A #316BB6
split-complementary
#B631AD #6BB631 #31B67C
monochromatic
#561751 #86247F #B631AD #D153C8 #DE84D8

Accessibility & contrast

On white

5.21
#B631AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B631AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631AD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631AD#FFFFFF#000000##FFFFFF
##B631AD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#BD416C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b631ad;
/* rgb */ color: rgb(182, 49, 173);
/* oklch */ color: oklch(56.2% 0.214 331.0);
Tailwind
colors: {
  custom: {
    50: '#d077c6',
    500: '#b631ad',
    950: '#000000',
  },
}
SCSS
$custom: #b631ad;
$custom-light: #d077c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b631ad",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 304.06,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.21445,
    "h": 331
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#B631AD
secondary
#7CC781
accent
#E15147
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631AD

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

Preview Lab → · Contrast checker → · Palette generator →

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