#D262CC#D262CC

#D262CC is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.9% C 0.190 H 329.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D262CC
RGBrgb(210, 98, 204)
HSLhsl(303, 55%, 60%)
HSVhsv(303, 53%, 82%)
CMYKcmyk(0%, 53.3%, 2.9%, 17.6%)
CIE-LABlab(58.79, 58.01, -35.10)
CIE-LCHlch(58.79, 67.80, 328.82°)
OKLaboklab(66.88% 0.1634 -0.0962)
OKLCHoklch(66.88% 0.19 329.5)
XYZxyz(41.8447, 26.7992, 60.0838)
Luminance0.2680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262CC #62D268
analogous
#A062D2 #D262CC #D26294
triadic
#D262CC #CCD262 #62CCD2
tetradic
#D262CC #D2A062 #62D268 #6294D2
square
#D262CC #D2A062 #62D268 #6294D2
split-complementary
#D262CC #94D262 #62D2A0
monochromatic
#90298B #C037B8 #D262CC #E092DB #EDC1EB

Accessibility & contrast

On white

3.30
#D262CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D262CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262CC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262CC#FFFFFF#000000##000000
##D262CC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84CF
Deuteranopia (green-blind)
#7D93C9
Tritanopia (blue-blind)
#D96D8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d262cc;
/* rgb */ color: rgb(210, 98, 204);
/* oklch */ color: oklch(66.9% 0.190 329.5);
Tailwind
colors: {
  custom: {
    50: '#e294dc',
    500: '#d262cc',
    950: '#000000',
  },
}
SCSS
$custom: #d262cc;
$custom-light: #e294dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d262cc",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 303.214,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.1896,
    "h": 329.5
  },
  "luminance": 0.26797
}

Semantic roles & 50–950 ramp

primary
#D262CC
secondary
#B3DDB5
accent
#C32B23
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D262CC

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

Preview Lab → · Contrast checker → · Palette generator →

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