#B631BA#B631BA

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

Color values

HEX#B631BA
RGBrgb(182, 49, 186)
HSLhsl(298, 58%, 46%)
HSVhsv(298, 74%, 73%)
CMYKcmyk(2.2%, 73.7%, 0%, 27.1%)
CIE-LABlab(46.56, 67.91, -44.27)
CIE-LCHlch(46.56, 81.07, 326.90°)
OKLaboklab(56.89% 0.1876 -0.1229)
OKLCHoklch(56.89% 0.224 326.8)
XYZxyz(29.2521, 15.6889, 47.9324)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631BA #35BA31
analogous
#7131BA #B631BA #BA3179
triadic
#B631BA #BAB631 #31BAB6
tetradic
#B631BA #BA7131 #35BA31 #3179BA
square
#B631BA #BA7131 #35BA31 #3179BA
split-complementary
#B631BA #79BA31 #31BA71
monochromatic
#571759 #87248A #B631BA #CF56D2 #DD86DF

Accessibility & contrast

On white

5.08
#B631BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B631BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631BA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631BA#FFFFFF#000000##FFFFFF
##B631BA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#BB4873
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b631ba;
/* rgb */ color: rgb(182, 49, 186);
/* oklch */ color: oklch(56.9% 0.224 326.8);
Tailwind
colors: {
  custom: {
    50: '#d077cf',
    500: '#b631ba',
    950: '#000000',
  },
}
SCSS
$custom: #b631ba;
$custom-light: #d077cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b631ba",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 298.248,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.22429,
    "h": 326.8
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#B631BA
secondary
#80C97E
accent
#E2464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B631BA

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

Preview Lab → · Contrast checker → · Palette generator →

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