#D262FA#D262FA

#D262FA is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.3% C 0.231 H 316.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#D262FA
RGBrgb(210, 98, 250)
HSLhsl(284, 94%, 68%)
HSVhsv(284, 61%, 98%)
CMYKcmyk(16%, 60.8%, 0%, 2%)
CIE-LABlab(61.08, 66.47, -57.23)
CIE-LCHlch(61.08, 87.72, 319.27°)
OKLaboklab(69.31% 0.1668 -0.1603)
OKLCHoklch(69.31% 0.231 316.1)
XYZxyz(48.1987, 29.3409, 93.5484)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262FA #8AFA62
analogous
#8662FA #D262FA #FA62D6
triadic
#D262FA #FAD262 #62FAD2
tetradic
#D262FA #FA8662 #8AFA62 #62D6FA
square
#D262FA #FA8662 #8AFA62 #62D6FA
split-complementary
#D262FA #D6FA62 #62FA86
monochromatic
#A307DB #C127F8 #D262FA #E39DFC #F4D9FE

Accessibility & contrast

On white

3.06
#D262FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#D262FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262FA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262FA#FFFFFF#000000##000000
##D262FA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#6397F6
Tritanopia (blue-blind)
#D07DA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d262fa;
/* rgb */ color: rgb(210, 98, 250);
/* oklch */ color: oklch(69.3% 0.231 316.1);
Tailwind
colors: {
  custom: {
    50: '#e395fd',
    500: '#d262fa',
    950: '#000000',
  },
}
SCSS
$custom: #d262fa;
$custom-light: #e395fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d262fa",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 284.211,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.23133,
    "h": 316.1
  },
  "luminance": 0.29339
}

Semantic roles & 50–950 ramp

primary
#D262FA
secondary
#D1F3C5
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D262FA

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

Preview Lab → · Contrast checker → · Palette generator →

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