#C742D2#C742D2

#C742D2 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.2% C 0.232 H 324.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C742D2
RGBrgb(199, 66, 210)
HSLhsl(295, 62%, 54%)
HSVhsv(295, 69%, 82%)
CMYKcmyk(5.2%, 68.6%, 0%, 17.6%)
CIE-LABlab(52.61, 69.78, -48.36)
CIE-LCHlch(52.61, 84.89, 325.28°)
OKLaboklab(62.17% 0.1895 -0.1345)
OKLCHoklch(62.17% 0.232 324.6)
XYZxyz(37.1333, 20.6940, 62.9987)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742D2 #4DD242
analogous
#7F42D2 #C742D2 #D24295
triadic
#C742D2 #D2C742 #42D2C7
tetradic
#C742D2 #D27F42 #4DD242 #4295D2
square
#C742D2 #D27F42 #4DD242 #4295D2
split-complementary
#C742D2 #95D242 #42D27F
monochromatic
#751E7C #A329AD #C742D2 #D673DE #E4A5EA

Accessibility & contrast

On white

4.09
#C742D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C742D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742D2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742D2#FFFFFF#000000##000000
##C742D21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#CB5985
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c742d2;
/* rgb */ color: rgb(199, 66, 210);
/* oklch */ color: oklch(62.2% 0.232 324.6);
Tailwind
colors: {
  custom: {
    50: '#dc82e0',
    500: '#c742d2',
    950: '#000000',
  },
}
SCSS
$custom: #c742d2;
$custom-light: #dc82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c742d2",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 295.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.23238,
    "h": 324.6
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#C742D2
secondary
#9ED799
accent
#E5434F
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C742D2

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

Preview Lab → · Contrast checker → · Palette generator →

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