#D262F8#D262F8

#D262F8 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.2% C 0.229 H 316.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D262F8
RGBrgb(210, 98, 248)
HSLhsl(285, 91%, 68%)
HSVhsv(285, 60%, 97%)
CMYKcmyk(15.3%, 60.5%, 0%, 2.7%)
CIE-LABlab(60.97, 66.08, -56.30)
CIE-LCHlch(60.97, 86.82, 319.57°)
OKLaboklab(69.19% 0.1668 -0.1576)
OKLCHoklch(69.19% 0.229 316.6)
XYZxyz(47.8868, 29.2161, 91.9055)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F8 #88F862
analogous
#8762F8 #D262F8 #F862D3
triadic
#D262F8 #F8D262 #62F8D2
tetradic
#D262F8 #F88762 #88F862 #62D3F8
square
#D262F8 #F88762 #88F862 #62D3F8
split-complementary
#D262F8 #D3F862 #62F887
monochromatic
#A20AD6 #C127F5 #D262F8 #E39DFB #F4D7FD

Accessibility & contrast

On white

3.07
#D262F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D262F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F8#FFFFFF#000000##000000
##D262F81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFD
Deuteranopia (green-blind)
#6496F4
Tritanopia (blue-blind)
#D07CA4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d262f8;
/* rgb */ color: rgb(210, 98, 248);
/* oklch */ color: oklch(69.2% 0.229 316.6);
Tailwind
colors: {
  custom: {
    50: '#e395fb',
    500: '#d262f8',
    950: '#000000',
  },
}
SCSS
$custom: #d262f8;
$custom-light: #e395fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f8",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 284.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6919,
    "c": 0.22944,
    "h": 316.6
  },
  "luminance": 0.29214
}

Semantic roles & 50–950 ramp

primary
#D262F8
secondary
#CFF2C4
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F8

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

Preview Lab → · Contrast checker → · Palette generator →

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