#B631AB#B631AB

#B631AB is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.213 H 331.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B631AB
RGBrgb(182, 49, 171)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 71%)
CMYKcmyk(0%, 73.1%, 6%, 28.6%)
CIE-LABlab(45.75, 65.50, -36.74)
CIE-LCHlch(45.75, 75.10, 330.71°)
OKLaboklab(56.04% 0.1875 -0.1011)
OKLCHoklch(56.04% 0.213 331.7)
XYZxyz(27.7404, 15.0842, 39.9707)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631AB #31B63C
analogous
#7E31B6 #B631AB #B63169
triadic
#B631AB #ABB631 #31ABB6
tetradic
#B631AB #B67E31 #31B63C #3169B6
square
#B631AB #B67E31 #31B63C #3169B6
split-complementary
#B631AB #69B631 #31B67E
monochromatic
#561750 #86247E #B631AB #D153C6 #DE84D6

Accessibility & contrast

On white

5.23
#B631AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B631AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631AB#FFFFFF#000000##FFFFFF
##B631AB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#BE406B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b631ab;
/* rgb */ color: rgb(182, 49, 171);
/* oklch */ color: oklch(56.0% 0.213 331.7);
Tailwind
colors: {
  custom: {
    50: '#d076c4',
    500: '#b631ab',
    950: '#000000',
  },
}
SCSS
$custom: #b631ab;
$custom-light: #d076c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b631ab",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 304.962,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.21298,
    "h": 331.7
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#B631AB
secondary
#7CC782
accent
#E15447
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631AB

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

Preview Lab → · Contrast checker → · Palette generator →

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