#C727B0#C727B0

#C727B0 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.234 H 335.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C727B0
RGBrgb(199, 39, 176)
HSLhsl(309, 67%, 47%)
HSVhsv(309, 80%, 78%)
CMYKcmyk(0%, 80.4%, 11.6%, 22%)
CIE-LABlab(47.92, 72.74, -36.08)
CIE-LCHlch(47.92, 81.20, 333.62°)
OKLaboklab(58.23% 0.2126 -0.0988)
OKLCHoklch(58.23% 0.234 335.1)
XYZxyz(32.1156, 16.7307, 42.6038)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C727B0 #27C73E
analogous
#8E27C7 #C727B0 #C72760
triadic
#C727B0 #B0C727 #27B0C7
tetradic
#C727B0 #C78E27 #27C73E #2760C7
square
#C727B0 #C78E27 #27C73E #2760C7
split-complementary
#C727B0 #60C727 #27C78E
monochromatic
#611355 #941D83 #C727B0 #DC4FC8 #E682D8

Accessibility & contrast

On white

4.83
#C727B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C727B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C727B0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C727B0#FFFFFF#000000##FFFFFF
##C727B01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B3
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#D1376C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c727b0;
/* rgb */ color: rgb(199, 39, 176);
/* oklch */ color: oklch(58.2% 0.234 335.1);
Tailwind
colors: {
  custom: {
    50: '#dc75c8',
    500: '#c727b0',
    950: '#000000',
  },
}
SCSS
$custom: #c727b0;
$custom-light: #dc75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c727b0",
  "rgb": {
    "r": 199,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 308.625,
    "s": 67.227,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.23446,
    "h": 335.1
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#C727B0
secondary
#7BCF87
accent
#EA563E
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C727B0

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

Preview Lab → · Contrast checker → · Palette generator →

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