#D460F2#D460F2

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

Color values

HEX#D460F2
RGBrgb(212, 96, 242)
HSLhsl(288, 85%, 66%)
HSVhsv(288, 60%, 95%)
CMYKcmyk(12.4%, 60.3%, 0%, 5.1%)
CIE-LABlab(60.58, 66.29, -53.58)
CIE-LCHlch(60.58, 85.24, 321.05°)
OKLaboklab(68.86% 0.1713 -0.1496)
OKLCHoklch(68.86% 0.227 318.9)
XYZxyz(47.3591, 28.7756, 87.0468)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D460F2 #7EF260
analogous
#8B60F2 #D460F2 #F260C7
triadic
#D460F2 #F2D460 #60F2D4
tetradic
#D460F2 #F28B60 #7EF260 #60C7F2
square
#D460F2 #F28B60 #7EF260 #60C7F2
split-complementary
#D460F2 #C7F260 #60F28B
monochromatic
#A210C7 #C527ED #D460F2 #E399F7 #F3D1FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D460F2#FFFFFF#000000##000000
##D460F21.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)
#398AF7
Deuteranopia (green-blind)
#6996EE
Tritanopia (blue-blind)
#D478A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d460f2;
/* rgb */ color: rgb(212, 96, 242);
/* oklch */ color: oklch(68.9% 0.227 318.9);
Tailwind
colors: {
  custom: {
    50: '#e493f7',
    500: '#d460f2',
    950: '#000000',
  },
}
SCSS
$custom: #d460f2;
$custom-light: #e493f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d460f2",
  "rgb": {
    "r": 212,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 287.671,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68858,
    "c": 0.22744,
    "h": 318.9
  },
  "luminance": 0.28774
}

Semantic roles & 50–950 ramp

primary
#D460F2
secondary
#C9EFBF
accent
#E10432
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D460F2

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

Preview Lab → · Contrast checker → · Palette generator →

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