#C842CE#C842CE

#C842CE is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.1% C 0.230 H 326.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C842CE
RGBrgb(200, 66, 206)
HSLhsl(297, 59%, 53%)
HSVhsv(297, 68%, 81%)
CMYKcmyk(2.9%, 68%, 0%, 19.2%)
CIE-LABlab(52.55, 69.32, -46.17)
CIE-LCHlch(52.55, 83.28, 326.34°)
OKLaboklab(62.08% 0.1906 -0.1281)
OKLCHoklch(62.08% 0.23 326.1)
XYZxyz(36.9075, 20.6344, 60.4194)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C842CE #48CE42
analogous
#8242CE #C842CE #CE428E
triadic
#C842CE #CEC842 #42CEC8
tetradic
#C842CE #CE8242 #48CE42 #428ECE
square
#C842CE #CE8242 #48CE42 #428ECE
split-complementary
#C842CE #8ECE42 #42CE82
monochromatic
#731F77 #A22BA7 #C842CE #D673DB #E4A3E7

Accessibility & contrast

On white

4.10
#C842CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C842CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C842CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C842CE#FFFFFF#000000##000000
##C842CE1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2573D2
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#CD5883
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c842ce;
/* rgb */ color: rgb(200, 66, 206);
/* oklch */ color: oklch(62.1% 0.230 326.1);
Tailwind
colors: {
  custom: {
    50: '#dc81dd',
    500: '#c842ce',
    950: '#000000',
  },
}
SCSS
$custom: #c842ce;
$custom-light: #dc81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c842ce",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 297.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62084,
    "c": 0.22964,
    "h": 326.1
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#C842CE
secondary
#9AD498
accent
#E2464C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150B15
muted
#847C83

Preview Lab

Preview with #C842CE

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

Preview Lab → · Contrast checker → · Palette generator →

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