#D155E8#D155E8

#D155E8 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.232 H 321.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D155E8
RGBrgb(209, 85, 232)
HSLhsl(291, 76%, 62%)
HSVhsv(291, 63%, 91%)
CMYKcmyk(9.9%, 63.4%, 0%, 9%)
CIE-LABlab(57.92, 68.47, -52.26)
CIE-LCHlch(57.92, 86.13, 322.64°)
OKLaboklab(66.68% 0.1804 -0.1457)
OKLCHoklch(66.68% 0.232 321.1)
XYZxyz(44.1068, 25.8807, 79.0005)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D155E8 #6CE855
analogous
#8755E8 #D155E8 #E855B6
triadic
#D155E8 #E8D155 #55E8D1
tetradic
#D155E8 #E88755 #6CE855 #55B6E8
square
#D155E8 #E88755 #6CE855 #55B6E8
split-complementary
#D155E8 #B6E855 #55E887
monochromatic
#9417AB #C21FE1 #D155E8 #E08BEF #EEC1F7

Accessibility & contrast

On white

3.40
#D155E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D155E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D155E8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D155E8#FFFFFF#000000##000000
##D155E81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#D36D97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d155e8;
/* rgb */ color: rgb(209, 85, 232);
/* oklch */ color: oklch(66.7% 0.232 321.1);
Tailwind
colors: {
  custom: {
    50: '#e38df0',
    500: '#d155e8',
    950: '#000000',
  },
}
SCSS
$custom: #d155e8;
$custom-light: #e38df0;
$custom-dark: #000000;
JSON
{
  "hex": "#d155e8",
  "rgb": {
    "r": 209,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 290.612,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.23191,
    "h": 321.1
  },
  "luminance": 0.25879
}

Semantic roles & 50–950 ramp

primary
#D155E8
secondary
#BAE7B1
accent
#D80D2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D155E8

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

Preview Lab → · Contrast checker → · Palette generator →

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