#B631B0#B631B0

#B631B0 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.217 H 330.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B631B0
RGBrgb(182, 49, 176)
HSLhsl(303, 58%, 45%)
HSVhsv(303, 73%, 71%)
CMYKcmyk(0%, 73.1%, 3.3%, 28.6%)
CIE-LABlab(46.01, 66.29, -39.28)
CIE-LCHlch(46.01, 77.05, 329.35°)
OKLaboklab(56.32% 0.1876 -0.1084)
OKLCHoklch(56.32% 0.217 330)
XYZxyz(28.2260, 15.2785, 42.5283)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631B0 #31B637
analogous
#7A31B6 #B631B0 #B6316D
triadic
#B631B0 #B0B631 #31B0B6
tetradic
#B631B0 #B67A31 #31B637 #316DB6
square
#B631B0 #B67A31 #31B637 #316DB6
split-complementary
#B631B0 #6DB631 #31B67A
monochromatic
#561753 #862481 #B631B0 #D153CB #DE84DA

Accessibility & contrast

On white

5.18
#B631B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B631B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631B0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631B0#FFFFFF#000000##FFFFFF
##B631B01.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#5973AD
Tritanopia (blue-blind)
#BD436E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b631b0;
/* rgb */ color: rgb(182, 49, 176);
/* oklch */ color: oklch(56.3% 0.217 330.0);
Tailwind
colors: {
  custom: {
    50: '#d077c8',
    500: '#b631b0',
    950: '#000000',
  },
}
SCSS
$custom: #b631b0;
$custom-light: #d077c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b631b0",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 302.707,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.21669,
    "h": 330
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#B631B0
secondary
#7CC77F
accent
#E14E47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631B0

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

Preview Lab → · Contrast checker → · Palette generator →

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