#D268CC#D268CC

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

Color values

HEX#D268CC
RGBrgb(210, 104, 204)
HSLhsl(303, 54%, 62%)
HSVhsv(303, 50%, 82%)
CMYKcmyk(0%, 50.5%, 2.9%, 17.6%)
CIE-LABlab(59.86, 55.16, -33.43)
CIE-LCHlch(59.86, 64.50, 328.78°)
OKLaboklab(67.67% 0.1553 -0.0915)
OKLCHoklch(67.67% 0.18 329.5)
XYZxyz(42.4273, 27.9644, 60.2780)
Luminance0.2796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268CC #68D26E
analogous
#A368D2 #D268CC #D26897
triadic
#D268CC #CCD268 #68CCD2
tetradic
#D268CC #D2A368 #68D26E #6897D2
square
#D268CC #D2A368 #68D26E #6897D2
split-complementary
#D268CC #97D268 #68D2A3
monochromatic
#942C8E #C33ABB #D268CC #E097DC #EEC6EC

Accessibility & contrast

On white

3.19
#D268CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#D268CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268CC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268CC#FFFFFF#000000##000000
##D268CC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#8195C9
Tritanopia (blue-blind)
#D97291
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d268cc;
/* rgb */ color: rgb(210, 104, 204);
/* oklch */ color: oklch(67.7% 0.180 329.5);
Tailwind
colors: {
  custom: {
    50: '#e297dc',
    500: '#d268cc',
    950: '#000000',
  },
}
SCSS
$custom: #d268cc;
$custom-light: #e297dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d268cc",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 303.396,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.18021,
    "h": 329.5
  },
  "luminance": 0.27962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D268CC

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

Preview Lab → · Contrast checker → · Palette generator →

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