#B631B2#B631B2

#B631B2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.218 H 329.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B631B2
RGBrgb(182, 49, 178)
HSLhsl(302, 58%, 45%)
HSVhsv(302, 73%, 71%)
CMYKcmyk(0%, 73.1%, 2.2%, 28.6%)
CIE-LABlab(46.12, 66.61, -40.28)
CIE-LCHlch(46.12, 77.84, 328.83°)
OKLaboklab(56.43% 0.1876 -0.1114)
OKLCHoklch(56.43% 0.218 329.3)
XYZxyz(28.4254, 15.3582, 43.5781)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631B2 #31B635
analogous
#7831B6 #B631B2 #B6316F
triadic
#B631B2 #B2B631 #31B2B6
tetradic
#B631B2 #B67831 #31B635 #316FB6
square
#B631B2 #B67831 #31B635 #316FB6
split-complementary
#B631B2 #6FB631 #31B678
monochromatic
#561754 #862483 #B631B2 #D153CD #DE84DB

Accessibility & contrast

On white

5.16
#B631B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B631B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631B2#FFFFFF#000000##FFFFFF
##B631B21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#5873AF
Tritanopia (blue-blind)
#BC446F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b631b2;
/* rgb */ color: rgb(182, 49, 178);
/* oklch */ color: oklch(56.4% 0.218 329.3);
Tailwind
colors: {
  custom: {
    50: '#d077c9',
    500: '#b631b2',
    950: '#000000',
  },
}
SCSS
$custom: #b631b2;
$custom-light: #d077c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b631b2",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 301.805,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.21819,
    "h": 329.3
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#B631B2
secondary
#7CC77E
accent
#E14C47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631B2

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

Preview Lab → · Contrast checker → · Palette generator →

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