#B631AA#B631AA

#B631AA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.212 H 332.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B631AA
RGBrgb(182, 49, 170)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 71%)
CMYKcmyk(0%, 73.1%, 6.6%, 28.6%)
CIE-LABlab(45.70, 65.35, -36.23)
CIE-LCHlch(45.70, 74.72, 330.99°)
OKLaboklab(55.99% 0.1874 -0.0996)
OKLCHoklch(55.99% 0.212 332)
XYZxyz(27.6455, 15.0462, 39.4706)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631AA #31B63D
analogous
#8031B6 #B631AA #B63167
triadic
#B631AA #AAB631 #31AAB6
tetradic
#B631AA #B68031 #31B63D #3167B6
square
#B631AA #B68031 #31B63D #3167B6
split-complementary
#B631AA #67B631 #31B680
monochromatic
#561750 #86247D #B631AA #D153C5 #DE84D6

Accessibility & contrast

On white

5.24
#B631AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B631AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631AA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631AA#FFFFFF#000000##FFFFFF
##B631AA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#BE406B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b631aa;
/* rgb */ color: rgb(182, 49, 170);
/* oklch */ color: oklch(56.0% 0.212 332.0);
Tailwind
colors: {
  custom: {
    50: '#d076c4',
    500: '#b631aa',
    950: '#000000',
  },
}
SCSS
$custom: #b631aa;
$custom-light: #d076c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b631aa",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 305.414,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5599,
    "c": 0.21224,
    "h": 332
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#B631AA
secondary
#7CC782
accent
#E15547
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B631AA

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

Preview Lab → · Contrast checker → · Palette generator →

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