#D262EC#D262EC

#D262EC is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.5% C 0.218 H 319.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D262EC
RGBrgb(210, 98, 236)
HSLhsl(289, 78%, 65%)
HSVhsv(289, 58%, 93%)
CMYKcmyk(11%, 58.5%, 0%, 7.5%)
CIE-LABlab(60.33, 63.78, -50.66)
CIE-LCHlch(60.33, 81.45, 321.54°)
OKLaboklab(68.52% 0.1664 -0.1411)
OKLCHoklch(68.52% 0.218 319.7)
XYZxyz(46.0844, 28.4951, 82.4132)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262EC #7CEC62
analogous
#8D62EC #D262EC #EC62C1
triadic
#D262EC #ECD262 #62ECD2
tetradic
#D262EC #EC8D62 #7CEC62 #62C1EC
square
#D262EC #EC8D62 #7CEC62 #62C1EC
split-complementary
#D262EC #C1EC62 #62EC8D
monochromatic
#9D17BD #C22BE5 #D262EC #E299F3 #F1CFF9

Accessibility & contrast

On white

3.13
#D262EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D262EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262EC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262EC#FFFFFF#000000##000000
##D262EC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF0
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#D3789E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d262ec;
/* rgb */ color: rgb(210, 98, 236);
/* oklch */ color: oklch(68.5% 0.218 319.7);
Tailwind
colors: {
  custom: {
    50: '#e394f3',
    500: '#d262ec',
    950: '#000000',
  },
}
SCSS
$custom: #d262ec;
$custom-light: #e394f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d262ec",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 288.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.21821,
    "h": 319.7
  },
  "luminance": 0.28493
}

Semantic roles & 50–950 ramp

primary
#D262EC
secondary
#C6ECBE
accent
#DB0B32
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262EC

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

Preview Lab → · Contrast checker → · Palette generator →

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