#D262C8#D262C8

#D262C8 is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.186 H 330.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D262C8
RGBrgb(210, 98, 200)
HSLhsl(305, 55%, 60%)
HSVhsv(305, 53%, 82%)
CMYKcmyk(0%, 53.3%, 4.8%, 17.6%)
CIE-LABlab(58.61, 57.33, -33.10)
CIE-LCHlch(58.61, 66.20, 330.00°)
OKLaboklab(66.7% 0.1628 -0.0905)
OKLCHoklch(66.7% 0.186 330.9)
XYZxyz(41.3711, 26.6098, 57.5895)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262C8 #62D26C
analogous
#A462D2 #D262C8 #D26290
triadic
#D262C8 #C8D262 #62C8D2
tetradic
#D262C8 #D2A462 #62D26C #6290D2
square
#D262C8 #D2A462 #62D26C #6290D2
split-complementary
#D262C8 #90D262 #62D2A4
monochromatic
#902987 #C037B4 #D262C8 #E092D9 #EDC1E9

Accessibility & contrast

On white

3.32
#D262C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D262C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262C8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262C8#FFFFFF#000000##000000
##D262C81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#7E93C5
Tritanopia (blue-blind)
#D96B8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d262c8;
/* rgb */ color: rgb(210, 98, 200);
/* oklch */ color: oklch(66.7% 0.186 330.9);
Tailwind
colors: {
  custom: {
    50: '#e293d9',
    500: '#d262c8',
    950: '#000000',
  },
}
SCSS
$custom: #d262c8;
$custom-light: #e293d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d262c8",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 305.357,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66697,
    "c": 0.18623,
    "h": 330.9
  },
  "luminance": 0.26607
}

Semantic roles & 50–950 ramp

primary
#D262C8
secondary
#B3DDB6
accent
#C33123
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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