#D155F2#D155F2

#D155F2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.241 H 318.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D155F2
RGBrgb(209, 85, 242)
HSLhsl(287, 86%, 64%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(13.6%, 64.9%, 0%, 5.1%)
CIE-LABlab(58.48, 70.31, -56.96)
CIE-LCHlch(58.48, 90.49, 320.99°)
OKLaboklab(67.25% 0.1803 -0.1595)
OKLCHoklch(67.25% 0.241 318.5)
XYZxyz(45.5678, 26.4651, 86.6952)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D155F2 #76F255
analogous
#8355F2 #D155F2 #F255C4
triadic
#D155F2 #F2D155 #55F2D1
tetradic
#D155F2 #F28355 #76F255 #55C4F2
square
#D155F2 #F28355 #76F255 #55C4F2
split-complementary
#D155F2 #C4F255 #55F283
monochromatic
#990FBE #C21CEE #D155F2 #E08EF6 #F0C7FB

Accessibility & contrast

On white

3.34
#D155F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D155F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D155F2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D155F2#FFFFFF#000000##000000
##D155F21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B84F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#D1719D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d155f2;
/* rgb */ color: rgb(209, 85, 242);
/* oklch */ color: oklch(67.3% 0.241 318.5);
Tailwind
colors: {
  custom: {
    50: '#e38df7',
    500: '#d155f2',
    950: '#000000',
  },
}
SCSS
$custom: #d155f2;
$custom-light: #e38df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d155f2",
  "rgb": {
    "r": 209,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 287.389,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67251,
    "c": 0.24071,
    "h": 318.5
  },
  "luminance": 0.26463
}

Semantic roles & 50–950 ramp

primary
#D155F2
secondary
#C2EDB6
accent
#E20332
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D155F2

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

Preview Lab → · Contrast checker → · Palette generator →

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