#D268CD#D268CD

#D268CD is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.7% C 0.181 H 329.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#D268CD
RGBrgb(210, 104, 205)
HSLhsl(303, 54%, 62%)
HSVhsv(303, 50%, 82%)
CMYKcmyk(0%, 50.5%, 2.4%, 17.6%)
CIE-LABlab(59.90, 55.33, -33.93)
CIE-LCHlch(59.90, 64.91, 328.48°)
OKLaboklab(67.72% 0.1555 -0.0929)
OKLCHoklch(67.72% 0.181 329.1)
XYZxyz(42.5476, 28.0126, 60.9117)
Luminance0.2801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268CD #68D26D
analogous
#A268D2 #D268CD #D26898
triadic
#D268CD #CDD268 #68CDD2
tetradic
#D268CD #D2A268 #68D26D #6898D2
square
#D268CD #D2A268 #68D26D #6898D2
split-complementary
#D268CD #98D268 #68D2A2
monochromatic
#942C8F #C33ABC #D268CD #E097DD #EEC6EC

Accessibility & contrast

On white

3.18
#D268CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#D268CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268CD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268CD#FFFFFF#000000##000000
##D268CD1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#D87291
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d268cd;
/* rgb */ color: rgb(210, 104, 205);
/* oklch */ color: oklch(67.7% 0.181 329.1);
Tailwind
colors: {
  custom: {
    50: '#e297dc',
    500: '#d268cd',
    950: '#000000',
  },
}
SCSS
$custom: #d268cd;
$custom-light: #e297dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d268cd",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 302.83,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.18109,
    "h": 329.1
  },
  "luminance": 0.2801
}

Semantic roles & 50–950 ramp

primary
#D268CD
secondary
#B7DFB9
accent
#C22B24
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D268CD

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

Preview Lab → · Contrast checker → · Palette generator →

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