#D262F2#D262F2

#D262F2 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.9% C 0.224 H 318.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#D262F2
RGBrgb(210, 98, 242)
HSLhsl(287, 85%, 67%)
HSVhsv(287, 60%, 95%)
CMYKcmyk(13.2%, 59.5%, 0%, 5.1%)
CIE-LABlab(60.65, 64.92, -53.49)
CIE-LCHlch(60.65, 84.12, 320.51°)
OKLaboklab(68.85% 0.1666 -0.1494)
OKLCHoklch(68.85% 0.224 318.1)
XYZxyz(46.9708, 28.8497, 87.0815)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F2 #82F262
analogous
#8A62F2 #D262F2 #F262CA
triadic
#D262F2 #F2D262 #62F2D2
tetradic
#D262F2 #F28A62 #82F262 #62CAF2
square
#D262F2 #F28A62 #82F262 #62CAF2
split-complementary
#D262F2 #CAF262 #62F28A
monochromatic
#A011C9 #C229ED #D262F2 #E29BF7 #F2D3FB

Accessibility & contrast

On white

3.10
#D262F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#D262F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F2#FFFFFF#000000##000000
##D262F21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#6896EE
Tritanopia (blue-blind)
#D27AA1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d262f2;
/* rgb */ color: rgb(210, 98, 242);
/* oklch */ color: oklch(68.9% 0.224 318.1);
Tailwind
colors: {
  custom: {
    50: '#e394f7',
    500: '#d262f2',
    950: '#000000',
  },
}
SCSS
$custom: #d262f2;
$custom-light: #e394f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f2",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 286.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68851,
    "c": 0.22381,
    "h": 318.1
  },
  "luminance": 0.28848
}

Semantic roles & 50–950 ramp

primary
#D262F2
secondary
#CBEFC1
accent
#E10435
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F2

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

Preview Lab → · Contrast checker → · Palette generator →

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