#B631B6#B631B6

#B631B6 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.221 H 328.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B631B6
RGBrgb(182, 49, 182)
HSLhsl(300, 58%, 45%)
HSVhsv(300, 73%, 71%)
CMYKcmyk(0%, 73.1%, 0%, 28.6%)
CIE-LABlab(46.34, 67.25, -42.29)
CIE-LCHlch(46.34, 79.44, 327.84°)
OKLaboklab(56.66% 0.1877 -0.1172)
OKLCHoklch(56.66% 0.221 328)
XYZxyz(28.8329, 15.5212, 45.7242)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631B6 #31B631
analogous
#7331B6 #B631B6 #B63173
triadic
#B631B6 #B6B631 #31B6B6
tetradic
#B631B6 #B67331 #31B631 #3173B6
square
#B631B6 #B67331 #31B631 #3173B6
split-complementary
#B631B6 #73B631 #31B673
monochromatic
#561756 #862486 #B631B6 #D153D1 #DE84DE

Accessibility & contrast

On white

5.12
#B631B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B631B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631B6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631B6#FFFFFF#000000##FFFFFF
##B631B61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BA
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#BC4671
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b631b6;
/* rgb */ color: rgb(182, 49, 182);
/* oklch */ color: oklch(56.7% 0.221 328.0);
Tailwind
colors: {
  custom: {
    50: '#d077cc',
    500: '#b631b6',
    950: '#000000',
  },
}
SCSS
$custom: #b631b6;
$custom-light: #d077cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b631b6",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 300,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.22123,
    "h": 328
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#B631B6
secondary
#7CC77C
accent
#E14747
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631B6

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

Preview Lab → · Contrast checker → · Palette generator →

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