#B631BD#B631BD

#B631BD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.1% C 0.227 H 325.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B631BD
RGBrgb(182, 49, 189)
HSLhsl(297, 59%, 47%)
HSVhsv(297, 74%, 74%)
CMYKcmyk(3.7%, 74.1%, 0%, 25.9%)
CIE-LABlab(46.73, 68.41, -45.76)
CIE-LCHlch(46.73, 82.30, 326.22°)
OKLaboklab(57.07% 0.1875 -0.1273)
OKLCHoklch(57.07% 0.227 325.8)
XYZxyz(29.5744, 15.8178, 49.6297)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631BD #38BD31
analogous
#7031BD #B631BD #BD317E
triadic
#B631BD #BDB631 #31BDB6
tetradic
#B631BD #BD7031 #38BD31 #317EBD
square
#B631BD #BD7031 #38BD31 #317EBD
split-complementary
#B631BD #7EBD31 #31BD70
monochromatic
#58185C #87248C #B631BD #CD58D4 #DC88E0

Accessibility & contrast

On white

5.04
#B631BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B631BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631BD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631BD#FFFFFF#000000##FFFFFF
##B631BD1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#BB4975
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b631bd;
/* rgb */ color: rgb(182, 49, 189);
/* oklch */ color: oklch(57.1% 0.227 325.8);
Tailwind
colors: {
  custom: {
    50: '#d077d1',
    500: '#b631bd',
    950: '#000000',
  },
}
SCSS
$custom: #b631bd;
$custom-light: #d077d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b631bd",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 297,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.22661,
    "h": 325.8
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#B631BD
secondary
#84CA80
accent
#E2464E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B631BD

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

Preview Lab → · Contrast checker → · Palette generator →

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