#D262ED#D262ED

#D262ED is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.6% C 0.219 H 319.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D262ED
RGBrgb(210, 98, 237)
HSLhsl(288, 79%, 66%)
HSVhsv(288, 59%, 93%)
CMYKcmyk(11.4%, 58.6%, 0%, 7.1%)
CIE-LABlab(60.39, 63.97, -51.13)
CIE-LCHlch(60.39, 81.89, 321.36°)
OKLaboklab(68.57% 0.1665 -0.1425)
OKLCHoklch(68.57% 0.219 319.4)
XYZxyz(46.2301, 28.5534, 83.1805)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262ED #7DED62
analogous
#8C62ED #D262ED #ED62C3
triadic
#D262ED #EDD262 #62EDD2
tetradic
#D262ED #ED8C62 #7DED62 #62C3ED
square
#D262ED #ED8C62 #7DED62 #62C3ED
split-complementary
#D262ED #C3ED62 #62ED8C
monochromatic
#9E16BF #C22BE7 #D262ED #E299F3 #F1D0FA

Accessibility & contrast

On white

3.13
#D262ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D262ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262ED
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262ED#FFFFFF#000000##000000
##D262ED1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF1
Deuteranopia (green-blind)
#6C96E9
Tritanopia (blue-blind)
#D3789F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d262ed;
/* rgb */ color: rgb(210, 98, 237);
/* oklch */ color: oklch(68.6% 0.219 319.4);
Tailwind
colors: {
  custom: {
    50: '#e394f3',
    500: '#d262ed',
    950: '#000000',
  },
}
SCSS
$custom: #d262ed;
$custom-light: #e394f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d262ed",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 288.345,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.21914,
    "h": 319.4
  },
  "luminance": 0.28551
}

Semantic roles & 50–950 ramp

primary
#D262ED
secondary
#C7EDBE
accent
#DC0A33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262ED

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

Preview Lab → · Contrast checker → · Palette generator →

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