#B631AC#B631AC

#B631AC is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.214 H 331.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B631AC
RGBrgb(182, 49, 172)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 71%)
CMYKcmyk(0%, 73.1%, 5.5%, 28.6%)
CIE-LABlab(45.80, 65.66, -37.25)
CIE-LCHlch(45.80, 75.49, 330.43°)
OKLaboklab(56.1% 0.1875 -0.1026)
OKLCHoklch(56.1% 0.214 331.3)
XYZxyz(27.8361, 15.1225, 40.4746)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631AC #31B63B
analogous
#7D31B6 #B631AC #B6316A
triadic
#B631AC #ACB631 #31ACB6
tetradic
#B631AC #B67D31 #31B63B #316AB6
square
#B631AC #B67D31 #31B63B #316AB6
split-complementary
#B631AC #6AB631 #31B67D
monochromatic
#561751 #86247E #B631AC #D153C7 #DE84D7

Accessibility & contrast

On white

5.22
#B631AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B631AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631AC#FFFFFF#000000##FFFFFF
##B631AC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#BD416C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b631ac;
/* rgb */ color: rgb(182, 49, 172);
/* oklch */ color: oklch(56.1% 0.214 331.3);
Tailwind
colors: {
  custom: {
    50: '#d077c5',
    500: '#b631ac',
    950: '#000000',
  },
}
SCSS
$custom: #b631ac;
$custom-light: #d077c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b631ac",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 304.511,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.21371,
    "h": 331.3
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#B631AC
secondary
#7CC781
accent
#E15347
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631AC

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

Preview Lab → · Contrast checker → · Palette generator →

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