#B431C1#B431C1

#B431C1 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.229 H 324.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B431C1
RGBrgb(180, 49, 193)
HSLhsl(295, 60%, 47%)
HSVhsv(295, 75%, 76%)
CMYKcmyk(6.7%, 74.6%, 0%, 24.3%)
CIE-LABlab(46.65, 68.67, -48.24)
CIE-LCHlch(46.65, 83.92, 324.91°)
OKLaboklab(57.02% 0.1851 -0.1346)
OKLCHoklch(57.02% 0.229 324)
XYZxyz(29.5455, 15.7520, 51.9260)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431C1 #3EC131
analogous
#6C31C1 #B431C1 #C13186
triadic
#B431C1 #C1B431 #31C1B4
tetradic
#B431C1 #C16C31 #3EC131 #3186C1
square
#B431C1 #C16C31 #3EC131 #3186C1
split-complementary
#B431C1 #86C131 #31C16C
monochromatic
#59185F #862590 #B431C1 #CA5AD5 #DA8BE2

Accessibility & contrast

On white

5.06
#B431C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B431C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431C1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431C1#FFFFFF#000000##FFFFFF
##B431C11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#B74C77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b431c1;
/* rgb */ color: rgb(180, 49, 193);
/* oklch */ color: oklch(57.0% 0.229 324.0);
Tailwind
colors: {
  custom: {
    50: '#ce77d4',
    500: '#b431c1',
    950: '#000000',
  },
}
SCSS
$custom: #b431c1;
$custom-light: #ce77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b431c1",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 294.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.22887,
    "h": 324
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#B431C1
secondary
#89CC82
accent
#E34553
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B431C1

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

Preview Lab → · Contrast checker → · Palette generator →

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