#D183EC#D183EC

#D183EC is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.167 H 317.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D183EC
RGBrgb(209, 131, 236)
HSLhsl(285, 73%, 72%)
HSVhsv(285, 44%, 93%)
CMYKcmyk(11.4%, 44.5%, 0%, 7.5%)
CIE-LABlab(66.40, 47.23, -41.10)
CIE-LCHlch(66.40, 62.61, 318.97°)
OKLaboklab(72.97% 0.1218 -0.1137)
OKLCHoklch(72.97% 0.167 317)
XYZxyz(49.5489, 35.8455, 83.6494)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D183EC #9EEC83
analogous
#9C83EC #D183EC #EC83D3
triadic
#D183EC #ECD183 #83ECD1
tetradic
#D183EC #EC9C83 #9EEC83 #83D3EC
square
#D183EC #EC9C83 #9EEC83 #83D3EC
split-complementary
#D183EC #D3EC83 #83EC9C
monochromatic
#A620D4 #BD4EE4 #D183EC #E5B8F4 #F5E4FB

Accessibility & contrast

On white

2.57
#D183EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D183EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D183EC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D183EC#FFFFFF#000000##000000
##D183EC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#D091AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d183ec;
/* rgb */ color: rgb(209, 131, 236);
/* oklch */ color: oklch(73.0% 0.167 317.0);
Tailwind
colors: {
  custom: {
    50: '#e1a9f2',
    500: '#d183ec',
    950: '#000000',
  },
}
SCSS
$custom: #d183ec;
$custom-light: #e1a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d183ec",
  "rgb": {
    "r": 209,
    "g": 131,
    "b": 236
  },
  "hsl": {
    "h": 284.571,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72971,
    "c": 0.1666,
    "h": 317
  },
  "luminance": 0.35844
}

Semantic roles & 50–950 ramp

primary
#D183EC
secondary
#DFF3D8
accent
#D61043
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D183EC

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

Preview Lab → · Contrast checker → · Palette generator →

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