#C742CF#C742CF

#C742CF is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.230 H 325.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C742CF
RGBrgb(199, 66, 207)
HSLhsl(297, 59%, 54%)
HSVhsv(297, 68%, 81%)
CMYKcmyk(3.9%, 68.1%, 0%, 18.8%)
CIE-LABlab(52.45, 69.26, -46.90)
CIE-LCHlch(52.45, 83.65, 325.90°)
OKLaboklab(62% 0.1895 -0.1303)
OKLCHoklch(62% 0.23 325.5)
XYZxyz(36.7631, 20.5459, 61.0488)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742CF #4ACF42
analogous
#8042CF #C742CF #CF4290
triadic
#C742CF #CFC742 #42CFC7
tetradic
#C742CF #CF8042 #4ACF42 #4290CF
square
#C742CF #CF8042 #4ACF42 #4290CF
split-complementary
#C742CF #90CF42 #42CF80
monochromatic
#731F78 #A22BA9 #C742CF #D573DB #E4A4E8

Accessibility & contrast

On white

4.11
#C742CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C742CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742CF#FFFFFF#000000##000000
##C742CF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#CC5884
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c742cf;
/* rgb */ color: rgb(199, 66, 207);
/* oklch */ color: oklch(62.0% 0.230 325.5);
Tailwind
colors: {
  custom: {
    50: '#dc81de',
    500: '#c742cf',
    950: '#000000',
  },
}
SCSS
$custom: #c742cf;
$custom-light: #dc81de;
$custom-dark: #000000;
JSON
{
  "hex": "#c742cf",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 296.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62001,
    "c": 0.22996,
    "h": 325.5
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#C742CF
secondary
#9CD598
accent
#E3454E
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C742CF

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

Preview Lab → · Contrast checker → · Palette generator →

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