#B631B7#B631B7

#B631B7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.222 H 327.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B631B7
RGBrgb(182, 49, 183)
HSLhsl(300, 58%, 45%)
HSVhsv(300, 73%, 72%)
CMYKcmyk(0.5%, 73.2%, 0%, 28.2%)
CIE-LABlab(46.40, 67.42, -42.79)
CIE-LCHlch(46.40, 79.85, 327.60°)
OKLaboklab(56.72% 0.1876 -0.1186)
OKLCHoklch(56.72% 0.222 327.7)
XYZxyz(28.9366, 15.5627, 46.2704)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631B7 #32B731
analogous
#7331B7 #B631B7 #B73175
triadic
#B631B7 #B7B631 #31B7B6
tetradic
#B631B7 #B77331 #32B731 #3175B7
square
#B631B7 #B77331 #32B731 #3175B7
split-complementary
#B631B7 #75B731 #31B773
monochromatic
#561756 #862487 #B631B7 #D054D1 #DD84DE

Accessibility & contrast

On white

5.11
#B631B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B631B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631B7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631B7#FFFFFF#000000##FFFFFF
##B631B71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#BC4672
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b631b7;
/* rgb */ color: rgb(182, 49, 183);
/* oklch */ color: oklch(56.7% 0.222 327.7);
Tailwind
colors: {
  custom: {
    50: '#d077cd',
    500: '#b631b7',
    950: '#000000',
  },
}
SCSS
$custom: #b631b7;
$custom-light: #d077cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b631b7",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 299.552,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.22199,
    "h": 327.7
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#B631B7
secondary
#7DC87C
accent
#E14748
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631B7

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

Preview Lab → · Contrast checker → · Palette generator →

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