#D262C2#D262C2

#D262C2 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.181 H 333.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D262C2
RGBrgb(210, 98, 194)
HSLhsl(309, 55%, 60%)
HSVhsv(309, 53%, 82%)
CMYKcmyk(0%, 53.3%, 7.6%, 17.6%)
CIE-LABlab(58.35, 56.33, -30.08)
CIE-LCHlch(58.35, 63.86, 331.89°)
OKLaboklab(66.42% 0.1618 -0.0819)
OKLCHoklch(66.42% 0.181 333.2)
XYZxyz(40.6836, 26.3348, 53.9688)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262C2 #62D272
analogous
#AA62D2 #D262C2 #D2628A
triadic
#D262C2 #C2D262 #62C2D2
tetradic
#D262C2 #D2AA62 #62D272 #628AD2
square
#D262C2 #D2AA62 #62D272 #628AD2
split-complementary
#D262C2 #8AD262 #62D2AA
monochromatic
#902982 #C037AC #D262C2 #E092D4 #EDC1E7

Accessibility & contrast

On white

3.35
#D262C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D262C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262C2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262C2#FFFFFF#000000##000000
##D262C21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#8192BF
Tritanopia (blue-blind)
#DA6A89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d262c2;
/* rgb */ color: rgb(210, 98, 194);
/* oklch */ color: oklch(66.4% 0.181 333.2);
Tailwind
colors: {
  custom: {
    50: '#e293d4',
    500: '#d262c2',
    950: '#000000',
  },
}
SCSS
$custom: #d262c2;
$custom-light: #e293d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d262c2",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 308.571,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.1813,
    "h": 333.2
  },
  "luminance": 0.26332
}

Semantic roles & 50–950 ramp

primary
#D262C2
secondary
#B3DDB9
accent
#C33923
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D262C2

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

Preview Lab → · Contrast checker → · Palette generator →

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