#D154F7#D154F7

#D154F7 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.4% C 0.246 H 317.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D154F7
RGBrgb(209, 84, 247)
HSLhsl(286, 91%, 65%)
HSVhsv(286, 66%, 97%)
CMYKcmyk(15.4%, 66%, 0%, 3.1%)
CIE-LABlab(58.61, 71.66, -59.52)
CIE-LCHlch(58.61, 93.16, 320.29°)
OKLaboklab(67.44% 0.1812 -0.1669)
OKLCHoklch(67.44% 0.246 317.3)
XYZxyz(46.2509, 26.6133, 90.6782)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D154F7 #7AF754
analogous
#7F54F7 #D154F7 #F754CC
triadic
#D154F7 #F7D154 #54F7D1
tetradic
#D154F7 #F77F54 #7AF754 #54CCF7
square
#D154F7 #F77F54 #7AF754 #54CCF7
split-complementary
#D154F7 #CCF754 #54F77F
monochromatic
#9B09C7 #C11AF4 #D154F7 #E18EFA #F0C9FC

Accessibility & contrast

On white

3.32
#D154F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D154F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D154F7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D154F7#FFFFFF#000000##000000
##D154F71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#D0729F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d154f7;
/* rgb */ color: rgb(209, 84, 247);
/* oklch */ color: oklch(67.4% 0.246 317.3);
Tailwind
colors: {
  custom: {
    50: '#e38dfb',
    500: '#d154f7',
    950: '#000000',
  },
}
SCSS
$custom: #d154f7;
$custom-light: #e38dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d154f7",
  "rgb": {
    "r": 209,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 286.012,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67442,
    "c": 0.24639,
    "h": 317.3
  },
  "luminance": 0.26611
}

Semantic roles & 50–950 ramp

primary
#D154F7
secondary
#C5EFB8
accent
#E60036
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D154F7

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

Preview Lab → · Contrast checker → · Palette generator →

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