#D162F3#D162F3

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

Color values

HEX#D162F3
RGBrgb(209, 98, 243)
HSLhsl(286, 86%, 67%)
HSVhsv(286, 60%, 95%)
CMYKcmyk(14%, 59.7%, 0%, 4.7%)
CIE-LABlab(60.57, 64.88, -54.18)
CIE-LCHlch(60.57, 84.52, 320.14°)
OKLaboklab(68.79% 0.1655 -0.1514)
OKLCHoklch(68.79% 0.224 317.5)
XYZxyz(46.8375, 28.7636, 87.8614)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162F3 #84F362
analogous
#8962F3 #D162F3 #F362CD
triadic
#D162F3 #F3D162 #62F3D1
tetradic
#D162F3 #F38962 #84F362 #62CDF3
square
#D162F3 #F38962 #84F362 #62CDF3
split-complementary
#D162F3 #CDF362 #62F389
monochromatic
#9F10CB #C029EF #D162F3 #E29BF7 #F2D4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D162F3#FFFFFF#000000##000000
##D162F31.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)
#3A8BF8
Deuteranopia (green-blind)
#6796EF
Tritanopia (blue-blind)
#D07AA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d162f3;
/* rgb */ color: rgb(209, 98, 243);
/* oklch */ color: oklch(68.8% 0.224 317.5);
Tailwind
colors: {
  custom: {
    50: '#e294f8',
    500: '#d162f3',
    950: '#000000',
  },
}
SCSS
$custom: #d162f3;
$custom-light: #e294f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d162f3",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 285.931,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.22432,
    "h": 317.5
  },
  "luminance": 0.28762
}

Semantic roles & 50–950 ramp

primary
#D162F3
secondary
#CCF0C1
accent
#E20338
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D162F3

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

Preview Lab → · Contrast checker → · Palette generator →

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