#D268E4#D268E4

#D268E4 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 68.8% C 0.202 H 321.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D268E4
RGBrgb(210, 104, 228)
HSLhsl(291, 70%, 65%)
HSVhsv(291, 54%, 89%)
CMYKcmyk(7.9%, 54.4%, 0%, 10.6%)
CIE-LABlab(60.96, 59.49, -45.20)
CIE-LCHlch(60.96, 74.71, 322.77°)
OKLaboklab(68.85% 0.1584 -0.1253)
OKLCHoklch(68.85% 0.202 321.6)
XYZxyz(45.5307, 29.2058, 76.6227)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268E4 #7AE468
analogous
#9468E4 #D268E4 #E468B8
triadic
#D268E4 #E4D268 #68E4D2
tetradic
#D268E4 #E49468 #7AE468 #68B8E4
square
#D268E4 #E49468 #7AE468 #68B8E4
split-complementary
#D268E4 #B8E468 #68E494
monochromatic
#9D20B2 #C334DB #D268E4 #E19CED #F1D0F7

Accessibility & contrast

On white

3.07
#D268E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D268E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D268E4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268E4#FFFFFF#000000##000000
##D268E41.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#7597E1
Tritanopia (blue-blind)
#D4799C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d268e4;
/* rgb */ color: rgb(210, 104, 228);
/* oklch */ color: oklch(68.8% 0.202 321.6);
Tailwind
colors: {
  custom: {
    50: '#e298ed',
    500: '#d268e4',
    950: '#000000',
  },
}
SCSS
$custom: #d268e4;
$custom-light: #e298ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d268e4",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 291.29,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68849,
    "c": 0.20195,
    "h": 321.6
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#D268E4
secondary
#C5E9BF
accent
#D2142F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D268E4

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

Preview Lab → · Contrast checker → · Palette generator →

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