#C742CE#C742CE

#C742CE is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.229 H 325.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C742CE
RGBrgb(199, 66, 206)
HSLhsl(297, 59%, 53%)
HSVhsv(297, 68%, 81%)
CMYKcmyk(3.4%, 68%, 0%, 19.2%)
CIE-LABlab(52.39, 69.09, -46.42)
CIE-LCHlch(52.39, 83.24, 326.11°)
OKLaboklab(61.94% 0.1895 -0.1289)
OKLCHoklch(61.94% 0.229 325.8)
XYZxyz(36.6412, 20.4971, 60.4070)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742CE #49CE42
analogous
#8142CE #C742CE #CE428F
triadic
#C742CE #CEC742 #42CEC7
tetradic
#C742CE #CE8142 #49CE42 #428FCE
square
#C742CE #CE8142 #49CE42 #428FCE
split-complementary
#C742CE #8FCE42 #42CE81
monochromatic
#721F77 #A12BA7 #C742CE #D573DB #E4A3E7

Accessibility & contrast

On white

4.12
#C742CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C742CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742CE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742CE#FFFFFF#000000##000000
##C742CE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#CC5883
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c742ce;
/* rgb */ color: rgb(199, 66, 206);
/* oklch */ color: oklch(61.9% 0.229 325.8);
Tailwind
colors: {
  custom: {
    50: '#dc81dd',
    500: '#c742ce',
    950: '#000000',
  },
}
SCSS
$custom: #c742ce;
$custom-light: #dc81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c742ce",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 297,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.22916,
    "h": 325.8
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

primary
#C742CE
secondary
#9BD498
accent
#E2464E
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C742CE

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

Preview Lab → · Contrast checker → · Palette generator →

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