#D262DC#D262DC

#D262DC is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.7% C 0.204 H 324.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D262DC
RGBrgb(210, 98, 220)
HSLhsl(295, 64%, 62%)
HSVhsv(295, 55%, 86%)
CMYKcmyk(4.5%, 55.5%, 0%, 13.7%)
CIE-LABlab(59.53, 60.82, -42.97)
CIE-LCHlch(59.53, 74.47, 324.76°)
OKLaboklab(67.67% 0.1653 -0.1188)
OKLCHoklch(67.67% 0.204 324.3)
XYZxyz(43.8632, 27.6066, 70.7145)
Luminance0.2760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262DC #6CDC62
analogous
#9562DC #D262DC #DC62A9
triadic
#D262DC #DCD262 #62DCD2
tetradic
#D262DC #DC9562 #6CDC62 #62A9DC
square
#D262DC #DC9562 #6CDC62 #62A9DC
split-complementary
#D262DC #A9DC62 #62DC95
monochromatic
#9624A0 #C430D1 #D262DC #E094E7 #EFC6F2

Accessibility & contrast

On white

3.22
#D262DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D262DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262DC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262DC#FFFFFF#000000##000000
##D262DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E0
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#D67296
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d262dc;
/* rgb */ color: rgb(210, 98, 220);
/* oklch */ color: oklch(67.7% 0.204 324.3);
Tailwind
colors: {
  custom: {
    50: '#e294e7',
    500: '#d262dc',
    950: '#000000',
  },
}
SCSS
$custom: #d262dc;
$custom-light: #e294e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d262dc",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 295.082,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.20359,
    "h": 324.3
  },
  "luminance": 0.27604
}

Semantic roles & 50–950 ramp

primary
#D262DC
secondary
#BAE3B7
accent
#CB1A29
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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