#C742D8#C742D8

#C742D8 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.5% C 0.237 H 323.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C742D8
RGBrgb(199, 66, 216)
HSLhsl(293, 66%, 55%)
HSVhsv(293, 69%, 85%)
CMYKcmyk(7.9%, 69.4%, 0%, 15.3%)
CIE-LABlab(52.95, 70.81, -51.24)
CIE-LCHlch(52.95, 87.41, 324.11°)
OKLaboklab(62.52% 0.1894 -0.1429)
OKLCHoklch(62.52% 0.237 323)
XYZxyz(37.8949, 20.9986, 67.0096)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742D8 #53D842
analogous
#7C42D8 #C742D8 #D8429E
triadic
#C742D8 #D8C742 #42D8C7
tetradic
#C742D8 #D87C42 #53D842 #429ED8
square
#C742D8 #D87C42 #53D842 #429ED8
split-complementary
#C742D8 #9ED842 #42D87C
monochromatic
#781B84 #A726B7 #C742D8 #D675E2 #E5A7ED

Accessibility & contrast

On white

4.04
#C742D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C742D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742D8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742D8#FFFFFF#000000##000000
##C742D81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C75DC
Deuteranopia (green-blind)
#5984D4
Tritanopia (blue-blind)
#CA5C89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c742d8;
/* rgb */ color: rgb(199, 66, 216);
/* oklch */ color: oklch(62.5% 0.237 323.0);
Tailwind
colors: {
  custom: {
    50: '#dc82e5',
    500: '#c742d8',
    950: '#000000',
  },
}
SCSS
$custom: #c742d8;
$custom-light: #dc82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c742d8",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 293.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.23726,
    "h": 323
  },
  "luminance": 0.20996
}

Semantic roles & 50–950 ramp

primary
#C742D8
secondary
#A3DA9C
accent
#E93F52
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150B16
muted
#847C84

Preview Lab

Preview with #C742D8

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

Preview Lab → · Contrast checker → · Palette generator →

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