#D268DC#D268DC

#D268DC is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.4% C 0.195 H 324.1°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D268DC
RGBrgb(210, 104, 220)
HSLhsl(295, 62%, 64%)
HSVhsv(295, 53%, 86%)
CMYKcmyk(4.5%, 52.7%, 0%, 13.7%)
CIE-LABlab(60.58, 58.01, -41.32)
CIE-LCHlch(60.58, 71.22, 324.53°)
OKLaboklab(68.44% 0.1575 -0.1141)
OKLCHoklch(68.44% 0.195 324.1)
XYZxyz(44.4458, 28.7718, 70.9087)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268DC #72DC68
analogous
#9868DC #D268DC #DC68AC
triadic
#D268DC #DCD268 #68DCD2
tetradic
#D268DC #DC9868 #72DC68 #68ACDC
square
#D268DC #DC9868 #72DC68 #68ACDC
split-complementary
#D268DC #ACDC68 #68DC98
monochromatic
#9926A4 #C336D0 #D268DC #E19AE8 #F0CBF3

Accessibility & contrast

On white

3.11
#D268DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D268DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268DC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268DC#FFFFFF#000000##000000
##D268DC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#7997D9
Tritanopia (blue-blind)
#D67798
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d268dc;
/* rgb */ color: rgb(210, 104, 220);
/* oklch */ color: oklch(68.4% 0.195 324.1);
Tailwind
colors: {
  custom: {
    50: '#e297e7',
    500: '#d268dc',
    950: '#000000',
  },
}
SCSS
$custom: #d268dc;
$custom-light: #e297e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d268dc",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 294.828,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68443,
    "c": 0.19452,
    "h": 324.1
  },
  "luminance": 0.2877
}

Semantic roles & 50–950 ramp

primary
#D268DC
secondary
#BFE4BB
accent
#CA1B2A
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D268DC

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

Preview Lab → · Contrast checker → · Palette generator →

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