#C731BF#C731BF

#C731BF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.236 H 330.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C731BF
RGBrgb(199, 49, 191)
HSLhsl(303, 60%, 49%)
HSVhsv(303, 75%, 78%)
CMYKcmyk(0%, 75.4%, 4%, 22%)
CIE-LABlab(49.62, 72.28, -42.16)
CIE-LCHlch(49.62, 83.68, 329.74°)
OKLaboklab(59.7% 0.2053 -0.1164)
OKLCHoklch(59.7% 0.236 330.4)
XYZxyz(34.0554, 18.1030, 50.9807)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C731BF #31C739
analogous
#8431C7 #C731BF #C73174
triadic
#C731BF #BFC731 #31BFC7
tetradic
#C731BF #C78431 #31C739 #3174C7
square
#C731BF #C78431 #31C739 #3174C7
split-complementary
#C731BF #74C731 #31C784
monochromatic
#651961 #962590 #C731BF #D75ED1 #E38FDF

Accessibility & contrast

On white

4.55
#C731BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C731BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C731BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C731BF#FFFFFF#000000##000000
##C731BF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#CF4676
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c731bf;
/* rgb */ color: rgb(199, 49, 191);
/* oklch */ color: oklch(59.7% 0.236 330.4);
Tailwind
colors: {
  custom: {
    50: '#dc7ad3',
    500: '#c731bf',
    950: '#000000',
  },
}
SCSS
$custom: #c731bf;
$custom-light: #dc7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#c731bf",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 303.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.23597,
    "h": 330.4
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#C731BF
secondary
#86CE8A
accent
#E44D44
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C731BF

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

Preview Lab → · Contrast checker → · Palette generator →

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