#D262F5#D262F5

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

Color values

HEX#D262F5
RGBrgb(210, 98, 245)
HSLhsl(286, 88%, 67%)
HSVhsv(286, 60%, 96%)
CMYKcmyk(14.3%, 60%, 0%, 3.9%)
CIE-LABlab(60.81, 65.50, -54.90)
CIE-LCHlch(60.81, 85.47, 320.03°)
OKLaboklab(69.02% 0.1667 -0.1535)
OKLCHoklch(69.02% 0.227 317.4)
XYZxyz(47.4251, 29.0314, 89.4740)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F5 #85F562
analogous
#8862F5 #D262F5 #F562CF
triadic
#D262F5 #F5D262 #62F5D2
tetradic
#D262F5 #F58862 #85F562 #62CFF5
square
#D262F5 #F58862 #85F562 #62CFF5
split-complementary
#D262F5 #CFF562 #62F588
monochromatic
#A10DCF #C228F1 #D262F5 #E29CF9 #F3D5FC

Accessibility & contrast

On white

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

On black

6.81
#D262F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F5#FFFFFF#000000##000000
##D262F51.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#6696F1
Tritanopia (blue-blind)
#D17BA3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d262f5;
/* rgb */ color: rgb(210, 98, 245);
/* oklch */ color: oklch(69.0% 0.227 317.4);
Tailwind
colors: {
  custom: {
    50: '#e394f9',
    500: '#d262f5',
    950: '#000000',
  },
}
SCSS
$custom: #d262f5;
$custom-light: #e394f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f5",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 285.714,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69019,
    "c": 0.22662,
    "h": 317.4
  },
  "luminance": 0.2903
}

Semantic roles & 50–950 ramp

primary
#D262F5
secondary
#CDF1C2
accent
#E50137
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F5

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

Preview Lab → · Contrast checker → · Palette generator →

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