#D268CA#D268CA

#D268CA is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.6% C 0.178 H 330.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D268CA
RGBrgb(210, 104, 202)
HSLhsl(305, 54%, 62%)
HSVhsv(305, 50%, 82%)
CMYKcmyk(0%, 50.5%, 3.8%, 17.6%)
CIE-LABlab(59.77, 54.81, -32.44)
CIE-LCHlch(59.77, 63.69, 329.39°)
OKLaboklab(67.58% 0.155 -0.0886)
OKLCHoklch(67.58% 0.179 330.2)
XYZxyz(42.1889, 27.8691, 59.0228)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268CA #68D270
analogous
#A568D2 #D268CA #D26895
triadic
#D268CA #CAD268 #68CAD2
tetradic
#D268CA #D2A568 #68D270 #6895D2
square
#D268CA #D2A568 #68D270 #6895D2
split-complementary
#D268CA #95D268 #68D2A5
monochromatic
#942C8C #C33AB8 #D268CA #E097DB #EEC6EB

Accessibility & contrast

On white

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

On black

6.57
#D268CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268CA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268CA#FFFFFF#000000##000000
##D268CA1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#8195C7
Tritanopia (blue-blind)
#D97190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d268ca;
/* rgb */ color: rgb(210, 104, 202);
/* oklch */ color: oklch(67.6% 0.178 330.2);
Tailwind
colors: {
  custom: {
    50: '#e297da',
    500: '#d268ca',
    950: '#000000',
  },
}
SCSS
$custom: #d268ca;
$custom-light: #e297da;
$custom-dark: #000000;
JSON
{
  "hex": "#d268ca",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 304.528,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67581,
    "c": 0.1785,
    "h": 330.2
  },
  "luminance": 0.27867
}

Semantic roles & 50–950 ramp

primary
#D268CA
secondary
#B7DFBA
accent
#C23024
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E15
muted
#847E83

Preview Lab

Preview with #D268CA

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

Preview Lab → · Contrast checker → · Palette generator →

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