#D155F8#D155F8

#D155F8 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.6% C 0.246 H 317.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D155F8
RGBrgb(209, 85, 248)
HSLhsl(286, 92%, 65%)
HSVhsv(286, 66%, 97%)
CMYKcmyk(15.7%, 65.7%, 0%, 2.7%)
CIE-LABlab(58.82, 71.44, -59.75)
CIE-LCHlch(58.82, 93.14, 320.09°)
OKLaboklab(67.61% 0.1801 -0.1676)
OKLCHoklch(67.61% 0.246 317.1)
XYZxyz(46.4838, 26.8315, 91.5192)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D155F8 #7CF855
analogous
#7F55F8 #D155F8 #F855CE
triadic
#D155F8 #F8D155 #55F8D1
tetradic
#D155F8 #F87F55 #7CF855 #55CEF8
square
#D155F8 #F87F55 #7CF855 #55CEF8
split-complementary
#D155F8 #CEF855 #55F87F
monochromatic
#9C08CA #C11AF6 #D155F8 #E190FA #F1CBFD

Accessibility & contrast

On white

3.30
#D155F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D155F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D155F8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D155F8#FFFFFF#000000##000000
##D155F81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0186FD
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#CF74A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d155f8;
/* rgb */ color: rgb(209, 85, 248);
/* oklch */ color: oklch(67.6% 0.246 317.1);
Tailwind
colors: {
  custom: {
    50: '#e38dfb',
    500: '#d155f8',
    950: '#000000',
  },
}
SCSS
$custom: #d155f8;
$custom-light: #e38dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d155f8",
  "rgb": {
    "r": 209,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 285.644,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.24605,
    "h": 317.1
  },
  "luminance": 0.2683
}

Semantic roles & 50–950 ramp

primary
#D155F8
secondary
#C6F0B9
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D155F8

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

Preview Lab → · Contrast checker → · Palette generator →

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