#B631AF#B631AF

#B631AF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.216 H 330.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B631AF
RGBrgb(182, 49, 175)
HSLhsl(303, 58%, 45%)
HSVhsv(303, 73%, 71%)
CMYKcmyk(0%, 73.1%, 3.8%, 28.6%)
CIE-LABlab(45.96, 66.13, -38.77)
CIE-LCHlch(45.96, 76.66, 329.62°)
OKLaboklab(56.26% 0.1876 -0.107)
OKLCHoklch(56.26% 0.216 330.3)
XYZxyz(28.1275, 15.2390, 42.0091)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631AF #31B638
analogous
#7A31B6 #B631AF #B6316C
triadic
#B631AF #AFB631 #31AFB6
tetradic
#B631AF #B67A31 #31B638 #316CB6
square
#B631AF #B67A31 #31B638 #316CB6
split-complementary
#B631AF #6CB631 #31B67A
monochromatic
#561752 #862481 #B631AF #D153CA #DE84D9

Accessibility & contrast

On white

5.19
#B631AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B631AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631AF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631AF#FFFFFF#000000##FFFFFF
##B631AF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#BD426D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b631af;
/* rgb */ color: rgb(182, 49, 175);
/* oklch */ color: oklch(56.3% 0.216 330.3);
Tailwind
colors: {
  custom: {
    50: '#d077c7',
    500: '#b631af',
    950: '#000000',
  },
}
SCSS
$custom: #b631af;
$custom-light: #d077c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b631af",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 303.158,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.21594,
    "h": 330.3
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#B631AF
secondary
#7CC780
accent
#E14F47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B631AF

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

Preview Lab → · Contrast checker → · Palette generator →

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