#D242DB#D242DB

#D242DB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.2% C 0.245 H 325.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D242DB
RGBrgb(210, 66, 219)
HSLhsl(296, 68%, 56%)
HSVhsv(296, 70%, 86%)
CMYKcmyk(4.1%, 69.9%, 0%, 14.1%)
CIE-LABlab(54.78, 73.67, -49.93)
CIE-LCHlch(54.78, 89.00, 325.87°)
OKLaboklab(64.21% 0.2014 -0.1388)
OKLCHoklch(64.21% 0.245 325.4)
XYZxyz(41.3118, 22.7152, 69.2126)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242DB #4BDB42
analogous
#8642DB #D242DB #DB4297
triadic
#D242DB #DBD242 #42DBD2
tetradic
#D242DB #DB8642 #4BDB42 #4297DB
square
#D242DB #DB8642 #4BDB42 #4297DB
split-complementary
#D242DB #97DB42 #42DB86
monochromatic
#821A89 #B324BC #D242DB #DE75E5 #EAA9EF

Accessibility & contrast

On white

3.79
#D242DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D242DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242DB#FFFFFF#000000##000000
##D242DB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#6289D7
Tritanopia (blue-blind)
#D75B8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d242db;
/* rgb */ color: rgb(210, 66, 219);
/* oklch */ color: oklch(64.2% 0.245 325.4);
Tailwind
colors: {
  custom: {
    50: '#e483e7',
    500: '#d242db',
    950: '#000000',
  },
}
SCSS
$custom: #d242db;
$custom-light: #e483e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d242db",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 296.471,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.24456,
    "h": 325.4
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#D242DB
secondary
#A0DC9D
accent
#EB3D47
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D242DB

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

Preview Lab → · Contrast checker → · Palette generator →

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