#C731BE#C731BE

#C731BE is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.235 H 330.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C731BE
RGBrgb(199, 49, 190)
HSLhsl(304, 60%, 49%)
HSVhsv(304, 75%, 78%)
CMYKcmyk(0%, 75.4%, 4.5%, 22%)
CIE-LABlab(49.57, 72.13, -41.67)
CIE-LCHlch(49.57, 83.30, 329.99°)
OKLaboklab(59.64% 0.2053 -0.115)
OKLCHoklch(59.64% 0.235 330.7)
XYZxyz(33.9457, 18.0592, 50.4031)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C731BE #31C73A
analogous
#8531C7 #C731BE #C73173
triadic
#C731BE #BEC731 #31BEC7
tetradic
#C731BE #C78531 #31C73A #3173C7
square
#C731BE #C78531 #31C73A #3173C7
split-complementary
#C731BE #73C731 #31C785
monochromatic
#651960 #96258F #C731BE #D75ED0 #E38FDE

Accessibility & contrast

On white

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

On black

4.61
#C731BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C731BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C731BE#FFFFFF#000000##000000
##C731BE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#CF4576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c731be;
/* rgb */ color: rgb(199, 49, 190);
/* oklch */ color: oklch(59.6% 0.235 330.7);
Tailwind
colors: {
  custom: {
    50: '#dc79d2',
    500: '#c731be',
    950: '#000000',
  },
}
SCSS
$custom: #c731be;
$custom-light: #dc79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c731be",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 303.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.23525,
    "h": 330.7
  },
  "luminance": 0.18056
}

Semantic roles & 50–950 ramp

primary
#C731BE
secondary
#86CE8A
accent
#E44E44
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C731BE

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

Preview Lab → · Contrast checker → · Palette generator →

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