#B731C8#B731C8

#B731C8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.9% C 0.236 H 322.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B731C8
RGBrgb(183, 49, 200)
HSLhsl(293, 61%, 49%)
HSVhsv(293, 76%, 78%)
CMYKcmyk(8.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(47.54, 70.48, -50.85)
CIE-LCHlch(47.54, 86.91, 324.19°)
OKLaboklab(57.88% 0.188 -0.1421)
OKLCHoklch(57.88% 0.236 322.9)
XYZxyz(31.0511, 16.4359, 56.1693)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731C8 #42C831
analogous
#6C31C8 #B731C8 #C8318E
triadic
#B731C8 #C8B731 #31C8B7
tetradic
#B731C8 #C86C31 #42C831 #318EC8
square
#B731C8 #C86C31 #42C831 #318EC8
split-complementary
#B731C8 #8EC831 #31C86C
monochromatic
#5D1966 #8A2597 #B731C8 #CA5FD8 #DA90E4

Accessibility & contrast

On white

4.90
#B731C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B731C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731C8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731C8#FFFFFF#000000##FFFFFF
##B731C81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#BA4E7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b731c8;
/* rgb */ color: rgb(183, 49, 200);
/* oklch */ color: oklch(57.9% 0.236 322.9);
Tailwind
colors: {
  custom: {
    50: '#d178d9',
    500: '#b731c8',
    950: '#000000',
  },
}
SCSS
$custom: #b731c8;
$custom-light: #d178d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b731c8",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 293.245,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.23565,
    "h": 322.9
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#B731C8
secondary
#8FCE86
accent
#E44456
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B731C8

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

Preview Lab → · Contrast checker → · Palette generator →

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