#D242CE#D242CE

#D242CE is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.235 H 329.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D242CE
RGBrgb(210, 66, 206)
HSLhsl(302, 62%, 54%)
HSVhsv(302, 69%, 82%)
CMYKcmyk(0%, 68.6%, 1.9%, 17.6%)
CIE-LABlab(54.09, 71.55, -43.63)
CIE-LCHlch(54.09, 83.80, 328.63°)
OKLaboklab(63.49% 0.2012 -0.1205)
OKLCHoklch(63.49% 0.235 329.1)
XYZxyz(39.6668, 22.0572, 60.5488)
Luminance0.2205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242CE #42D246
analogous
#8E42D2 #D242CE #D24286
triadic
#D242CE #CED242 #42CED2
tetradic
#D242CE #D28E42 #42D246 #4286D2
square
#D242CE #D28E42 #42D246 #4286D2
split-complementary
#D242CE #86D242 #42D28E
monochromatic
#7C1E79 #AD29AA #D242CE #DE73DB #EAA5E8

Accessibility & contrast

On white

3.88
#D242CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D242CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242CE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242CE#FFFFFF#000000##000000
##D242CE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#D95583
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d242ce;
/* rgb */ color: rgb(210, 66, 206);
/* oklch */ color: oklch(63.5% 0.235 329.1);
Tailwind
colors: {
  custom: {
    50: '#e483dd',
    500: '#d242ce',
    950: '#000000',
  },
}
SCSS
$custom: #d242ce;
$custom-light: #e483dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d242ce",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 301.667,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.23454,
    "h": 329.1
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#D242CE
secondary
#99D79B
accent
#E54843
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D242CE

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

Preview Lab → · Contrast checker → · Palette generator →

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