#B631C4#B631C4

#B631C4 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.232 H 323.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B631C4
RGBrgb(182, 49, 196)
HSLhsl(294, 60%, 48%)
HSVhsv(294, 75%, 77%)
CMYKcmyk(7.1%, 75%, 0%, 23.1%)
CIE-LABlab(47.14, 69.59, -49.18)
CIE-LCHlch(47.14, 85.21, 324.75°)
OKLaboklab(57.49% 0.1872 -0.1372)
OKLCHoklch(57.49% 0.232 323.7)
XYZxyz(30.3526, 16.1291, 53.7284)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631C4 #3FC431
analogous
#6D31C4 #B631C4 #C43188
triadic
#B631C4 #C4B631 #31C4B6
tetradic
#B631C4 #C46D31 #3FC431 #3188C4
square
#B631C4 #C46D31 #3FC431 #3188C4
split-complementary
#B631C4 #88C431 #31C46D
monochromatic
#5B1962 #892593 #B631C4 #CB5CD6 #DA8DE2

Accessibility & contrast

On white

4.97
#B631C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B631C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631C4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631C4#FFFFFF#000000##FFFFFF
##B631C41.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#4C75C1
Tritanopia (blue-blind)
#B94D79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b631c4;
/* rgb */ color: rgb(182, 49, 196);
/* oklch */ color: oklch(57.5% 0.232 323.7);
Tailwind
colors: {
  custom: {
    50: '#d077d6',
    500: '#b631c4',
    950: '#000000',
  },
}
SCSS
$custom: #b631c4;
$custom-light: #d077d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b631c4",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 294.286,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.23208,
    "h": 323.7
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#B631C4
secondary
#8BCD84
accent
#E34554
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B631C4

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

Preview Lab → · Contrast checker → · Palette generator →

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