#C742CA#C742CA

#C742CA is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.226 H 327.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C742CA
RGBrgb(199, 66, 202)
HSLhsl(299, 56%, 53%)
HSVhsv(299, 67%, 79%)
CMYKcmyk(1.5%, 67.3%, 0%, 20.8%)
CIE-LABlab(52.18, 68.42, -44.46)
CIE-LCHlch(52.18, 81.60, 326.98°)
OKLaboklab(61.72% 0.1895 -0.1232)
OKLCHoklch(61.72% 0.226 327)
XYZxyz(36.1615, 20.3052, 57.8803)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742CA #45CA42
analogous
#8342CA #C742CA #CA4289
triadic
#C742CA #CAC742 #42CAC7
tetradic
#C742CA #CA8342 #45CA42 #4289CA
square
#C742CA #CA8342 #45CA42 #4289CA
split-complementary
#C742CA #89CA42 #42CA83
monochromatic
#702072 #9F2DA2 #C742CA #D572D7 #E3A2E5

Accessibility & contrast

On white

4.15
#C742CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C742CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742CA#FFFFFF#000000##000000
##C742CA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CE
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#CD5681
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c742ca;
/* rgb */ color: rgb(199, 66, 202);
/* oklch */ color: oklch(61.7% 0.226 327.0);
Tailwind
colors: {
  custom: {
    50: '#dc81da',
    500: '#c742ca',
    950: '#000000',
  },
}
SCSS
$custom: #c742ca;
$custom-light: #dc81da;
$custom-dark: #000000;
JSON
{
  "hex": "#c742ca",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 298.676,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.22597,
    "h": 327
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#C742CA
secondary
#98D196
accent
#DF484C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C742CA

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

Preview Lab → · Contrast checker → · Palette generator →

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