#D262F0#D262F0

#D262F0 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.7% C 0.222 H 318.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D262F0
RGBrgb(210, 98, 240)
HSLhsl(287, 83%, 66%)
HSVhsv(287, 59%, 94%)
CMYKcmyk(12.5%, 59.2%, 0%, 5.9%)
CIE-LABlab(60.54, 64.54, -52.55)
CIE-LCHlch(60.54, 83.23, 320.85°)
OKLaboklab(68.74% 0.1666 -0.1466)
OKLCHoklch(68.74% 0.222 318.6)
XYZxyz(46.6721, 28.7302, 85.5082)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262F0 #80F062
analogous
#8B62F0 #D262F0 #F062C7
triadic
#D262F0 #F0D262 #62F0D2
tetradic
#D262F0 #F08B62 #80F062 #62C7F0
square
#D262F0 #F08B62 #80F062 #62C7F0
split-complementary
#D262F0 #C7F062 #62F08B
monochromatic
#9F13C5 #C22AEB #D262F0 #E29AF5 #F2D2FB

Accessibility & contrast

On white

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

On black

6.75
#D262F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262F0
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262F0#FFFFFF#000000##000000
##D262F01.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF4
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#D279A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d262f0;
/* rgb */ color: rgb(210, 98, 240);
/* oklch */ color: oklch(68.7% 0.222 318.6);
Tailwind
colors: {
  custom: {
    50: '#e394f5',
    500: '#d262f0',
    950: '#000000',
  },
}
SCSS
$custom: #d262f0;
$custom-light: #e394f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d262f0",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 287.324,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6874,
    "c": 0.22193,
    "h": 318.6
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

primary
#D262F0
secondary
#CAEEC0
accent
#DF0734
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D262F0

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

Preview Lab → · Contrast checker → · Palette generator →

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