#B731C4#B731C4

#B731C4 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.233 H 324.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B731C4
RGBrgb(183, 49, 196)
HSLhsl(295, 60%, 48%)
HSVhsv(295, 75%, 77%)
CMYKcmyk(6.6%, 75%, 0%, 23.1%)
CIE-LABlab(47.30, 69.79, -48.91)
CIE-LCHlch(47.30, 85.23, 324.98°)
OKLaboklab(57.63% 0.1883 -0.1364)
OKLCHoklch(57.63% 0.233 324.1)
XYZxyz(30.5897, 16.2514, 53.7395)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731C4 #3EC431
analogous
#6D31C4 #B731C4 #C43187
triadic
#B731C4 #C4B731 #31C4B7
tetradic
#B731C4 #C46D31 #3EC431 #3187C4
square
#B731C4 #C46D31 #3EC431 #3187C4
split-complementary
#B731C4 #87C431 #31C46D
monochromatic
#5C1962 #892593 #B731C4 #CB5CD6 #DB8DE2

Accessibility & contrast

On white

4.94
#B731C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B731C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731C4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731C4#FFFFFF#000000##FFFFFF
##B731C41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b731c4;
/* rgb */ color: rgb(183, 49, 196);
/* oklch */ color: oklch(57.6% 0.233 324.1);
Tailwind
colors: {
  custom: {
    50: '#d178d6',
    500: '#b731c4',
    950: '#000000',
  },
}
SCSS
$custom: #b731c4;
$custom-light: #d178d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b731c4",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 294.694,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.23251,
    "h": 324.1
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#B731C4
secondary
#8ACD84
accent
#E34553
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B731C4

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

Preview Lab → · Contrast checker → · Palette generator →

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