#C742DF#C742DF

#C742DF is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.9% C 0.243 H 321.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C742DF
RGBrgb(199, 66, 223)
HSLhsl(291, 71%, 57%)
HSVhsv(291, 70%, 87%)
CMYKcmyk(10.8%, 70.4%, 0%, 12.5%)
CIE-LABlab(53.35, 72.05, -54.57)
CIE-LCHlch(53.35, 90.38, 322.86°)
OKLaboklab(62.94% 0.1891 -0.1526)
OKLCHoklch(62.94% 0.243 321.1)
XYZxyz(38.8192, 21.3683, 71.8775)
Luminance0.2137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742DF #5ADF42
analogous
#7942DF #C742DF #DF42A9
triadic
#C742DF #DFC742 #42DFC7
tetradic
#C742DF #DF7942 #5ADF42 #42A9DF
square
#C742DF #DF7942 #5ADF42 #42A9DF
split-complementary
#C742DF #A9DF42 #42DF79
monochromatic
#7C188E #AA21C3 #C742DF #D776E8 #E6ABF1

Accessibility & contrast

On white

3.98
#C742DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C742DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742DF#FFFFFF#000000##000000
##C742DF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#5484DB
Tritanopia (blue-blind)
#C95F8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c742df;
/* rgb */ color: rgb(199, 66, 223);
/* oklch */ color: oklch(62.9% 0.243 321.1);
Tailwind
colors: {
  custom: {
    50: '#dc82ea',
    500: '#c742df',
    950: '#000000',
  },
}
SCSS
$custom: #c742df;
$custom-light: #dc82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c742df",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 290.828,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.24302,
    "h": 321.1
  },
  "luminance": 0.21366
}

Semantic roles & 50–950 ramp

primary
#C742DF
secondary
#A8DF9E
accent
#EE3A55
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #C742DF

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

Preview Lab → · Contrast checker → · Palette generator →

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