#D262DF#D262DF

#D262DF is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.8% C 0.206 H 323.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#D262DF
RGBrgb(210, 98, 223)
HSLhsl(294, 66%, 63%)
HSVhsv(294, 56%, 87%)
CMYKcmyk(5.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(59.68, 61.36, -44.43)
CIE-LCHlch(59.68, 75.76, 324.10°)
OKLaboklab(67.83% 0.1656 -0.123)
OKLCHoklch(67.83% 0.206 323.4)
XYZxyz(44.2640, 27.7670, 72.8258)
Luminance0.2777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262DF #6FDF62
analogous
#9362DF #D262DF #DF62AD
triadic
#D262DF #DFD262 #62DFD2
tetradic
#D262DF #DF9362 #6FDF62 #62ADDF
square
#D262DF #DF9362 #6FDF62 #62ADDF
split-complementary
#D262DF #ADDF62 #62DF93
monochromatic
#9722A5 #C32FD5 #D262DF #E195E9 #EFC8F4

Accessibility & contrast

On white

3.20
#D262DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#D262DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262DF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262DF#FFFFFF#000000##000000
##D262DF1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#7494DC
Tritanopia (blue-blind)
#D57398
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d262df;
/* rgb */ color: rgb(210, 98, 223);
/* oklch */ color: oklch(67.8% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#e394e9',
    500: '#d262df',
    950: '#000000',
  },
}
SCSS
$custom: #d262df;
$custom-light: #e394e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d262df",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 293.76,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67828,
    "c": 0.2063,
    "h": 323.4
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#D262DF
secondary
#BDE5B8
accent
#CE172A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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