#D262EA#D262EA

#D262EA is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.4% C 0.216 H 320.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#D262EA
RGBrgb(210, 98, 234)
HSLhsl(289, 76%, 65%)
HSVhsv(289, 58%, 92%)
CMYKcmyk(10.3%, 58.1%, 0%, 8.2%)
CIE-LABlab(60.23, 63.40, -49.71)
CIE-LCHlch(60.23, 80.56, 321.90°)
OKLaboklab(68.41% 0.1663 -0.1384)
OKLCHoklch(68.41% 0.216 320.2)
XYZxyz(45.7955, 28.3796, 80.8915)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262EA #7AEA62
analogous
#8E62EA #D262EA #EA62BE
triadic
#D262EA #EAD262 #62EAD2
tetradic
#D262EA #EA8E62 #7AEA62 #62BEEA
square
#D262EA #EA8E62 #7AEA62 #62BEEA
split-complementary
#D262EA #BEEA62 #62EA8E
monochromatic
#9D19B9 #C32CE3 #D262EA #E198F1 #F1CEF8

Accessibility & contrast

On white

3.15
#D262EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#D262EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262EA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262EA#FFFFFF#000000##000000
##D262EA1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#6D95E6
Tritanopia (blue-blind)
#D3779D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d262ea;
/* rgb */ color: rgb(210, 98, 234);
/* oklch */ color: oklch(68.4% 0.216 320.2);
Tailwind
colors: {
  custom: {
    50: '#e394f1',
    500: '#d262ea',
    950: '#000000',
  },
}
SCSS
$custom: #d262ea;
$custom-light: #e394f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d262ea",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 289.412,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.21637,
    "h": 320.2
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#D262EA
secondary
#C5EBBD
accent
#D90D31
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262EA

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

Preview Lab → · Contrast checker → · Palette generator →

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