#D262FE#D262FE

#D262FE is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.5% C 0.235 H 315.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D262FE
RGBrgb(210, 98, 254)
HSLhsl(283, 99%, 69%)
HSVhsv(283, 61%, 100%)
CMYKcmyk(17.3%, 61.4%, 0%, 0.4%)
CIE-LABlab(61.30, 67.26, -59.09)
CIE-LCHlch(61.30, 89.53, 318.70°)
OKLaboklab(69.54% 0.1668 -0.1657)
OKLCHoklch(69.54% 0.235 315.2)
XYZxyz(48.8326, 29.5944, 96.8867)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262FE #8EFE62
analogous
#8462FE #D262FE #FE62DC
triadic
#D262FE #FED262 #62FED2
tetradic
#D262FE #FE8462 #8EFE62 #62DCFE
square
#D262FE #FE8462 #8EFE62 #62DCFE
split-complementary
#D262FE #DCFE62 #62FE84
monochromatic
#A401E4 #C125FE #D262FE #E39FFE #F5DCFF

Accessibility & contrast

On white

3.04
#D262FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D262FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262FE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262FE#FFFFFF#000000##000000
##D262FE1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#CF7EA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d262fe;
/* rgb */ color: rgb(210, 98, 254);
/* oklch */ color: oklch(69.5% 0.235 315.2);
Tailwind
colors: {
  custom: {
    50: '#e395ff',
    500: '#d262fe',
    950: '#000000',
  },
}
SCSS
$custom: #d262fe;
$custom-light: #e395ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d262fe",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 283.077,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.23511,
    "h": 315.2
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#D262FE
secondary
#D4F5C7
accent
#E60041
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D262FE

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

Preview Lab → · Contrast checker → · Palette generator →

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