#D268EC#D268EC

#D268EC is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.210 H 319.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D268EC
RGBrgb(210, 104, 236)
HSLhsl(288, 78%, 67%)
HSVhsv(288, 56%, 93%)
CMYKcmyk(11%, 55.9%, 0%, 7.5%)
CIE-LABlab(61.36, 61.00, -49.03)
CIE-LCHlch(61.36, 78.27, 321.21°)
OKLaboklab(69.27% 0.159 -0.1364)
OKLCHoklch(69.27% 0.21 319.4)
XYZxyz(46.6670, 29.6603, 82.6074)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268EC #82EC68
analogous
#9068EC #D268EC #EC68C4
triadic
#D268EC #ECD268 #68ECD2
tetradic
#D268EC #EC9068 #82EC68 #68C4EC
square
#D268EC #EC9068 #82EC68 #68C4EC
split-complementary
#D268EC #C4EC68 #68EC90
monochromatic
#A018C1 #C232E5 #D268EC #E29EF3 #F2D5FA

Accessibility & contrast

On white

3.03
#D268EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D268EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268EC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268EC#FFFFFF#000000##000000
##D268EC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#D37CA0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d268ec;
/* rgb */ color: rgb(210, 104, 236);
/* oklch */ color: oklch(69.3% 0.210 319.4);
Tailwind
colors: {
  custom: {
    50: '#e398f3',
    500: '#d268ec',
    950: '#000000',
  },
}
SCSS
$custom: #d268ec;
$custom-light: #e398f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d268ec",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 288.182,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69269,
    "c": 0.20952,
    "h": 319.4
  },
  "luminance": 0.29658
}

Semantic roles & 50–950 ramp

primary
#D268EC
secondary
#CBEDC3
accent
#DA0C34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D268EC

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

Preview Lab → · Contrast checker → · Palette generator →

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