#D262F6#D262F6

#D262F6 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.228 H 317.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#D262F6
RGBrgb(210, 98, 246)
HSLhsl(285, 89%, 67%)
HSVhsv(285, 60%, 96%)
CMYKcmyk(14.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(60.86, 65.70, -55.37)
CIE-LCHlch(60.86, 85.92, 319.88°)
OKLaboklab(69.08% 0.1667 -0.1549)
OKLCHoklch(69.08% 0.228 317.1)
XYZxyz(47.5782, 29.0926, 90.2801)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F6 #86F662
analogous
#8862F6 #D262F6 #F662D0
triadic
#D262F6 #F6D262 #62F6D2
tetradic
#D262F6 #F68862 #86F662 #62D0F6
square
#D262F6 #F68862 #86F662 #62D0F6
split-complementary
#D262F6 #D0F662 #62F688
monochromatic
#A20CD2 #C128F3 #D262F6 #E39CF9 #F3D6FD

Accessibility & contrast

On white

3.08
#D262F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#D262F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F6#FFFFFF#000000##000000
##D262F61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFB
Deuteranopia (green-blind)
#6696F2
Tritanopia (blue-blind)
#D17BA3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d262f6;
/* rgb */ color: rgb(210, 98, 246);
/* oklch */ color: oklch(69.1% 0.228 317.1);
Tailwind
colors: {
  custom: {
    50: '#e395fa',
    500: '#d262f6',
    950: '#000000',
  },
}
SCSS
$custom: #d262f6;
$custom-light: #e395fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f6",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 285.405,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.22755,
    "h": 317.1
  },
  "luminance": 0.29091
}

Semantic roles & 50–950 ramp

primary
#D262F6
secondary
#CEF1C3
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F6

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

Preview Lab → · Contrast checker → · Palette generator →

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