#B731C5#B731C5

#B731C5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.233 H 323.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B731C5
RGBrgb(183, 49, 197)
HSLhsl(294, 60%, 48%)
HSVhsv(294, 75%, 77%)
CMYKcmyk(7.1%, 75.1%, 0%, 22.7%)
CIE-LABlab(47.36, 69.96, -49.40)
CIE-LCHlch(47.36, 85.64, 324.78°)
OKLaboklab(57.69% 0.1882 -0.1379)
OKLCHoklch(57.69% 0.233 323.8)
XYZxyz(30.7039, 16.2970, 54.3409)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731C5 #3FC531
analogous
#6D31C5 #B731C5 #C53189
triadic
#B731C5 #C5B731 #31C5B7
tetradic
#B731C5 #C56D31 #3FC531 #3189C5
square
#B731C5 #C56D31 #3FC531 #3189C5
split-complementary
#B731C5 #89C531 #31C56D
monochromatic
#5C1963 #892594 #B731C5 #CB5DD7 #DB8EE3

Accessibility & contrast

On white

4.93
#B731C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B731C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731C5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731C5#FFFFFF#000000##FFFFFF
##B731C51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#4C76C2
Tritanopia (blue-blind)
#BA4D7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b731c5;
/* rgb */ color: rgb(183, 49, 197);
/* oklch */ color: oklch(57.7% 0.233 323.8);
Tailwind
colors: {
  custom: {
    50: '#d178d7',
    500: '#b731c5',
    950: '#000000',
  },
}
SCSS
$custom: #b731c5;
$custom-light: #d178d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b731c5",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 294.324,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.23329,
    "h": 323.8
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#B731C5
secondary
#8BCD85
accent
#E34454
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B731C5

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

Preview Lab → · Contrast checker → · Palette generator →

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