#B631BB#B631BB

#B631BB is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.225 H 326.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B631BB
RGBrgb(182, 49, 187)
HSLhsl(298, 58%, 46%)
HSVhsv(298, 74%, 73%)
CMYKcmyk(2.7%, 73.8%, 0%, 26.7%)
CIE-LABlab(46.62, 68.07, -44.77)
CIE-LCHlch(46.62, 81.48, 326.67°)
OKLaboklab(56.95% 0.1876 -0.1244)
OKLCHoklch(56.95% 0.225 326.4)
XYZxyz(29.3588, 15.7316, 48.4942)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631BB #36BB31
analogous
#7131BB #B631BB #BB317B
triadic
#B631BB #BBB631 #31BBB6
tetradic
#B631BB #BB7131 #36BB31 #317BBB
square
#B631BB #BB7131 #36BB31 #317BBB
split-complementary
#B631BB #7BBB31 #31BB71
monochromatic
#58185A #87248B #B631BB #CE56D3 #DC87E0

Accessibility & contrast

On white

5.07
#B631BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B631BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631BB#FFFFFF#000000##FFFFFF
##B631BB1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#BB4874
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b631bb;
/* rgb */ color: rgb(182, 49, 187);
/* oklch */ color: oklch(56.9% 0.225 326.4);
Tailwind
colors: {
  custom: {
    50: '#d077d0',
    500: '#b631bb',
    950: '#000000',
  },
}
SCSS
$custom: #b631bb;
$custom-light: #d077d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b631bb",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 297.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.22506,
    "h": 326.4
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#B631BB
secondary
#81C97F
accent
#E2464C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B631BB

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

Preview Lab → · Contrast checker → · Palette generator →

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