#D262EB#D262EB

#D262EB is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.5% C 0.217 H 320.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D262EB
RGBrgb(210, 98, 235)
HSLhsl(289, 77%, 65%)
HSVhsv(289, 58%, 92%)
CMYKcmyk(10.6%, 58.3%, 0%, 7.8%)
CIE-LABlab(60.28, 63.59, -50.18)
CIE-LCHlch(60.28, 81.01, 321.72°)
OKLaboklab(68.47% 0.1664 -0.1398)
OKLCHoklch(68.47% 0.217 320)
XYZxyz(45.9396, 28.4372, 81.6502)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262EB #7BEB62
analogous
#8D62EB #D262EB #EB62BF
triadic
#D262EB #EBD262 #62EBD2
tetradic
#D262EB #EB8D62 #7BEB62 #62BFEB
square
#D262EB #EB8D62 #7BEB62 #62BFEB
split-complementary
#D262EB #BFEB62 #62EB8D
monochromatic
#9D18BB #C22CE4 #D262EB #E298F2 #F1CFF9

Accessibility & contrast

On white

3.14
#D262EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D262EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262EB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262EB#FFFFFF#000000##000000
##D262EB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AEF
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#D3779E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d262eb;
/* rgb */ color: rgb(210, 98, 235);
/* oklch */ color: oklch(68.5% 0.217 320.0);
Tailwind
colors: {
  custom: {
    50: '#e394f2',
    500: '#d262eb',
    950: '#000000',
  },
}
SCSS
$custom: #d262eb;
$custom-light: #e394f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d262eb",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 289.051,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68465,
    "c": 0.21729,
    "h": 320
  },
  "luminance": 0.28435
}

Semantic roles & 50–950 ramp

primary
#D262EB
secondary
#C6EBBD
accent
#DA0C31
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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