#D262F4#D262F4

#D262F4 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.0% C 0.226 H 317.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D262F4
RGBrgb(210, 98, 244)
HSLhsl(286, 87%, 67%)
HSVhsv(286, 60%, 96%)
CMYKcmyk(13.9%, 59.8%, 0%, 4.3%)
CIE-LABlab(60.76, 65.31, -54.43)
CIE-LCHlch(60.76, 85.02, 320.19°)
OKLaboklab(68.96% 0.1667 -0.1521)
OKLCHoklch(68.96% 0.226 317.6)
XYZxyz(47.2728, 28.9705, 88.6721)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F4 #84F462
analogous
#8962F4 #D262F4 #F462CD
triadic
#D262F4 #F4D262 #62F4D2
tetradic
#D262F4 #F48962 #84F462 #62CDF4
square
#D262F4 #F48962 #84F462 #62CDF4
split-complementary
#D262F4 #CDF462 #62F489
monochromatic
#A10ECD #C229F0 #D262F4 #E29BF8 #F3D4FC

Accessibility & contrast

On white

3.09
#D262F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D262F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F4#FFFFFF#000000##000000
##D262F41.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF9
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#D17BA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d262f4;
/* rgb */ color: rgb(210, 98, 244);
/* oklch */ color: oklch(69.0% 0.226 317.6);
Tailwind
colors: {
  custom: {
    50: '#e394f8',
    500: '#d262f4',
    950: '#000000',
  },
}
SCSS
$custom: #d262f4;
$custom-light: #e394f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f4",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 286.027,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68963,
    "c": 0.22568,
    "h": 317.6
  },
  "luminance": 0.28969
}

Semantic roles & 50–950 ramp

primary
#D262F4
secondary
#CDF0C2
accent
#E30237
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F4

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

Preview Lab → · Contrast checker → · Palette generator →

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