#C742CD#C742CD

#C742CD is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.228 H 326.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C742CD
RGBrgb(199, 66, 205)
HSLhsl(297, 58%, 53%)
HSVhsv(297, 68%, 80%)
CMYKcmyk(2.9%, 67.8%, 0%, 19.6%)
CIE-LABlab(52.34, 68.92, -45.93)
CIE-LCHlch(52.34, 82.83, 326.32°)
OKLaboklab(61.89% 0.1895 -0.1274)
OKLCHoklch(61.89% 0.228 326.1)
XYZxyz(36.5201, 20.4487, 59.7692)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742CD #48CD42
analogous
#8142CD #C742CD #CD428D
triadic
#C742CD #CDC742 #42CDC7
tetradic
#C742CD #CD8142 #48CD42 #428DCD
square
#C742CD #CD8142 #48CD42 #428DCD
split-complementary
#C742CD #8DCD42 #42CD81
monochromatic
#721F76 #A12CA6 #C742CD #D572DA #E4A3E7

Accessibility & contrast

On white

4.13
#C742CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C742CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742CD#FFFFFF#000000##000000
##C742CD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#6083C9
Tritanopia (blue-blind)
#CC5783
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c742cd;
/* rgb */ color: rgb(199, 66, 205);
/* oklch */ color: oklch(61.9% 0.228 326.1);
Tailwind
colors: {
  custom: {
    50: '#dc81dd',
    500: '#c742cd',
    950: '#000000',
  },
}
SCSS
$custom: #c742cd;
$custom-light: #dc81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c742cd",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 297.41,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.22836,
    "h": 326.1
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#C742CD
secondary
#9AD397
accent
#E1464D
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C742CD

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

Preview Lab → · Contrast checker → · Palette generator →

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