#C742D5#C742D5

#C742D5 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.3% C 0.235 H 323.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C742D5
RGBrgb(199, 66, 213)
HSLhsl(294, 64%, 55%)
HSVhsv(294, 69%, 84%)
CMYKcmyk(6.6%, 69%, 0%, 16.5%)
CIE-LABlab(52.78, 70.29, -49.80)
CIE-LCHlch(52.78, 86.15, 324.68°)
OKLaboklab(62.34% 0.1895 -0.1387)
OKLCHoklch(62.34% 0.235 323.8)
XYZxyz(37.5106, 20.8449, 64.9856)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742D5 #50D542
analogous
#7E42D5 #C742D5 #D54299
triadic
#C742D5 #D5C742 #42D5C7
tetradic
#C742D5 #D57E42 #50D542 #4299D5
square
#C742D5 #D57E42 #50D542 #4299D5
split-complementary
#C742D5 #99D542 #42D57E
monochromatic
#771C80 #A528B2 #C742D5 #D674E0 #E5A6EB

Accessibility & contrast

On white

4.06
#C742D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C742D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742D5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742D5#FFFFFF#000000##000000
##C742D51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#CB5B87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c742d5;
/* rgb */ color: rgb(199, 66, 213);
/* oklch */ color: oklch(62.3% 0.235 323.8);
Tailwind
colors: {
  custom: {
    50: '#dc82e2',
    500: '#c742d5',
    950: '#000000',
  },
}
SCSS
$custom: #c742d5;
$custom-light: #dc82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c742d5",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 294.286,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62345,
    "c": 0.23481,
    "h": 323.8
  },
  "luminance": 0.20843
}

Semantic roles & 50–950 ramp

primary
#C742D5
secondary
#A0D89A
accent
#E74151
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C742D5

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

Preview Lab → · Contrast checker → · Palette generator →

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