#D182F7#D182F7

#D182F7 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.180 H 313.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D182F7
RGBrgb(209, 130, 247)
HSLhsl(281, 88%, 74%)
HSVhsv(281, 47%, 97%)
CMYKcmyk(15.4%, 47.4%, 0%, 3.1%)
CIE-LABlab(66.70, 50.00, -46.68)
CIE-LCHlch(66.70, 68.40, 316.96°)
OKLaboklab(73.36% 0.1248 -0.1298)
OKLCHoklch(73.36% 0.18 313.9)
XYZxyz(51.0629, 36.2372, 92.2822)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D182F7 #A8F782
analogous
#9782F7 #D182F7 #F782E3
triadic
#D182F7 #F7D182 #82F7D1
tetradic
#D182F7 #F79782 #A8F782 #82E3F7
square
#D182F7 #F79782 #A8F782 #82E3F7
split-complementary
#D182F7 #E3F782 #82F797
monochromatic
#A70FEF #BC48F3 #D182F7 #E6BCFB #F4E2FD

Accessibility & contrast

On white

2.55
#D182F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D182F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D182F7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D182F7#FFFFFF#000000##000000
##D182F71.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#80A4F4
Tritanopia (blue-blind)
#CE94B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d182f7;
/* rgb */ color: rgb(209, 130, 247);
/* oklch */ color: oklch(73.4% 0.180 313.9);
Tailwind
colors: {
  custom: {
    50: '#e1a8fa',
    500: '#d182f7',
    950: '#000000',
  },
}
SCSS
$custom: #d182f7;
$custom-light: #e1a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d182f7",
  "rgb": {
    "r": 209,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 280.513,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73359,
    "c": 0.18004,
    "h": 313.9
  },
  "luminance": 0.36236
}

Semantic roles & 50–950 ramp

primary
#D182F7
secondary
#E0F5D6
accent
#E5014B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D182F7

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

Preview Lab → · Contrast checker → · Palette generator →

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