#C742E2#C742E2

#C742E2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.1% C 0.245 H 320.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C742E2
RGBrgb(199, 66, 226)
HSLhsl(290, 73%, 57%)
HSVhsv(290, 71%, 89%)
CMYKcmyk(11.9%, 70.8%, 0%, 11.4%)
CIE-LABlab(53.53, 72.58, -55.99)
CIE-LCHlch(53.53, 91.67, 322.35°)
OKLaboklab(63.12% 0.1889 -0.1568)
OKLCHoklch(63.12% 0.246 320.3)
XYZxyz(39.2272, 21.5315, 74.0265)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742E2 #5DE242
analogous
#7742E2 #C742E2 #E242AD
triadic
#C742E2 #E2C742 #42E2C7
tetradic
#C742E2 #E27742 #5DE242 #42ADE2
square
#C742E2 #E27742 #5DE242 #42ADE2
split-complementary
#C742E2 #ADE242 #42E277
monochromatic
#7E1793 #AC1FC8 #C742E2 #D777EA #E6ACF2

Accessibility & contrast

On white

3.96
#C742E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C742E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742E2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742E2#FFFFFF#000000##000000
##C742E21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#5185DE
Tritanopia (blue-blind)
#C8608E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c742e2;
/* rgb */ color: rgb(199, 66, 226);
/* oklch */ color: oklch(63.1% 0.245 320.3);
Tailwind
colors: {
  custom: {
    50: '#dc82ec',
    500: '#c742e2',
    950: '#000000',
  },
}
SCSS
$custom: #c742e2;
$custom-light: #dc82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c742e2",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 289.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63119,
    "c": 0.2455,
    "h": 320.3
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#C742E2
secondary
#AAE09F
accent
#F03857
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #C742E2

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

Preview Lab → · Contrast checker → · Palette generator →

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