#D262F1#D262F1

#D262F1 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.8% C 0.223 H 318.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D262F1
RGBrgb(210, 98, 241)
HSLhsl(287, 84%, 66%)
HSVhsv(287, 59%, 95%)
CMYKcmyk(12.9%, 59.3%, 0%, 5.5%)
CIE-LABlab(60.60, 64.73, -53.02)
CIE-LCHlch(60.60, 83.68, 320.68°)
OKLaboklab(68.8% 0.1666 -0.148)
OKLCHoklch(68.8% 0.223 318.4)
XYZxyz(46.8211, 28.7898, 86.2927)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F1 #81F162
analogous
#8B62F1 #D262F1 #F162C9
triadic
#D262F1 #F1D262 #62F1D2
tetradic
#D262F1 #F18B62 #81F162 #62C9F1
square
#D262F1 #F18B62 #81F162 #62C9F1
split-complementary
#D262F1 #C9F162 #62F18B
monochromatic
#A012C7 #C22AEC #D262F1 #E29AF6 #F2D2FB

Accessibility & contrast

On white

3.11
#D262F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D262F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F1#FFFFFF#000000##000000
##D262F11.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF5
Deuteranopia (green-blind)
#6996ED
Tritanopia (blue-blind)
#D27AA1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d262f1;
/* rgb */ color: rgb(210, 98, 241);
/* oklch */ color: oklch(68.8% 0.223 318.4);
Tailwind
colors: {
  custom: {
    50: '#e394f6',
    500: '#d262f1',
    950: '#000000',
  },
}
SCSS
$custom: #d262f1;
$custom-light: #e394f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f1",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 286.993,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.22287,
    "h": 318.4
  },
  "luminance": 0.28788
}

Semantic roles & 50–950 ramp

primary
#D262F1
secondary
#CAEFC0
accent
#E00535
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F1

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

Preview Lab → · Contrast checker → · Palette generator →

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