#D268EF#D268EF

#D268EF is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.212 H 318.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D268EF
RGBrgb(210, 104, 239)
HSLhsl(287, 81%, 67%)
HSVhsv(287, 56%, 94%)
CMYKcmyk(12.1%, 56.5%, 0%, 6.3%)
CIE-LABlab(61.51, 61.58, -50.46)
CIE-LCHlch(61.51, 79.61, 320.67°)
OKLaboklab(69.43% 0.1592 -0.1406)
OKLCHoklch(69.43% 0.212 318.5)
XYZxyz(47.1066, 29.8361, 84.9222)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268EF #85EF68
analogous
#8F68EF #D268EF #EF68C9
triadic
#D268EF #EFD268 #68EFD2
tetradic
#D268EF #EF8F68 #85EF68 #68C9EF
square
#D268EF #EF8F68 #85EF68 #68C9EF
split-complementary
#D268EF #C9EF68 #68EF8F
monochromatic
#A115C7 #C231E9 #D268EF #E29FF5 #F3D7FB

Accessibility & contrast

On white

3.01
#D268EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D268EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268EF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268EF#FFFFFF#000000##000000
##D268EF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#D27DA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d268ef;
/* rgb */ color: rgb(210, 104, 239);
/* oklch */ color: oklch(69.4% 0.212 318.5);
Tailwind
colors: {
  custom: {
    50: '#e398f5',
    500: '#d268ef',
    950: '#000000',
  },
}
SCSS
$custom: #d268ef;
$custom-light: #e398f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d268ef",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 287.111,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.21238,
    "h": 318.5
  },
  "luminance": 0.29834
}

Semantic roles & 50–950 ramp

primary
#D268EF
secondary
#CDEFC4
accent
#DD0836
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D268EF

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

Preview Lab → · Contrast checker → · Palette generator →

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