#B631BF#B631BF

#B631BF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.228 H 325.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B631BF
RGBrgb(182, 49, 191)
HSLhsl(296, 59%, 47%)
HSVhsv(296, 74%, 75%)
CMYKcmyk(4.7%, 74.3%, 0%, 25.1%)
CIE-LABlab(46.85, 68.74, -46.74)
CIE-LCHlch(46.85, 83.13, 325.79°)
OKLaboklab(57.19% 0.1874 -0.1301)
OKLCHoklch(57.19% 0.228 325.2)
XYZxyz(29.7930, 15.9053, 50.7809)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631BF #3ABF31
analogous
#6F31BF #B631BF #BF3181
triadic
#B631BF #BFB631 #31BFB6
tetradic
#B631BF #BF6F31 #3ABF31 #3181BF
square
#B631BF #BF6F31 #3ABF31 #3181BF
split-complementary
#B631BF #81BF31 #31BF6F
monochromatic
#59185E #88258E #B631BF #CD59D4 #DB8AE1

Accessibility & contrast

On white

5.02
#B631BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B631BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631BF#FFFFFF#000000##FFFFFF
##B631BF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#BA4A76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b631bf;
/* rgb */ color: rgb(182, 49, 191);
/* oklch */ color: oklch(57.2% 0.228 325.2);
Tailwind
colors: {
  custom: {
    50: '#d077d3',
    500: '#b631bf',
    950: '#000000',
  },
}
SCSS
$custom: #b631bf;
$custom-light: #d077d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b631bf",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 296.197,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.22817,
    "h": 325.2
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#B631BF
secondary
#86CB81
accent
#E2454F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B631BF

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

Preview Lab → · Contrast checker → · Palette generator →

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