#B631C2#B631C2

#B631C2 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.231 H 324.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B631C2
RGBrgb(182, 49, 194)
HSLhsl(295, 60%, 48%)
HSVhsv(295, 75%, 76%)
CMYKcmyk(6.2%, 74.7%, 0%, 23.9%)
CIE-LABlab(47.03, 69.25, -48.20)
CIE-LCHlch(47.03, 84.37, 325.16°)
OKLaboklab(57.37% 0.1873 -0.1344)
OKLCHoklch(57.37% 0.231 324.3)
XYZxyz(30.1265, 16.0387, 52.5374)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631C2 #3DC231
analogous
#6D31C2 #B631C2 #C23186
triadic
#B631C2 #C2B631 #31C2B6
tetradic
#B631C2 #C26D31 #3DC231 #3186C2
square
#B631C2 #C26D31 #3DC231 #3186C2
split-complementary
#B631C2 #86C231 #31C26D
monochromatic
#5A1860 #882591 #B631C2 #CB5BD6 #DB8CE2

Accessibility & contrast

On white

4.99
#B631C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B631C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631C2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631C2#FFFFFF#000000##FFFFFF
##B631C21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#BA4C78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b631c2;
/* rgb */ color: rgb(182, 49, 194);
/* oklch */ color: oklch(57.4% 0.231 324.3);
Tailwind
colors: {
  custom: {
    50: '#d077d5',
    500: '#b631c2',
    950: '#000000',
  },
}
SCSS
$custom: #b631c2;
$custom-light: #d077d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b631c2",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 295.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.23051,
    "h": 324.3
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#B631C2
secondary
#89CC83
accent
#E34552
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B631C2

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

Preview Lab → · Contrast checker → · Palette generator →

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