#D262E2#D262E2

#D262E2 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.0% C 0.209 H 322.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#D262E2
RGBrgb(210, 98, 226)
HSLhsl(293, 69%, 64%)
HSVhsv(293, 57%, 89%)
CMYKcmyk(7.1%, 56.6%, 0%, 11.4%)
CIE-LABlab(59.83, 61.91, -45.88)
CIE-LCHlch(59.83, 77.06, 323.46°)
OKLaboklab(67.98% 0.1658 -0.1272)
OKLCHoklch(67.98% 0.209 322.5)
XYZxyz(44.6721, 27.9302, 74.9748)
Luminance0.2793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262E2 #72E262
analogous
#9262E2 #D262E2 #E262B2
triadic
#D262E2 #E2D262 #62E2D2
tetradic
#D262E2 #E29262 #72E262 #62B2E2
square
#D262E2 #E29262 #72E262 #62B2E2
split-complementary
#D262E2 #B2E262 #62E292
monochromatic
#991FAA #C32ED8 #D262E2 #E196EC #F0C9F5

Accessibility & contrast

On white

3.19
#D262E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#D262E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262E2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262E2#FFFFFF#000000##000000
##D262E21.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#7295DF
Tritanopia (blue-blind)
#D57499
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d262e2;
/* rgb */ color: rgb(210, 98, 226);
/* oklch */ color: oklch(68.0% 0.209 322.5);
Tailwind
colors: {
  custom: {
    50: '#e394eb',
    500: '#d262e2',
    950: '#000000',
  },
}
SCSS
$custom: #d262e2;
$custom-light: #e394eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d262e2",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 292.5,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67984,
    "c": 0.20902,
    "h": 322.5
  },
  "luminance": 0.27928
}

Semantic roles & 50–950 ramp

primary
#D262E2
secondary
#BFE7B9
accent
#D1152C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D262E2

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

Preview Lab → · Contrast checker → · Palette generator →

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