#D182F2#D182F2

#D182F2 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.175 H 315.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D182F2
RGBrgb(209, 130, 242)
HSLhsl(282, 81%, 73%)
HSVhsv(282, 46%, 95%)
CMYKcmyk(13.6%, 46.3%, 0%, 5.1%)
CIE-LABlab(66.47, 48.97, -44.30)
CIE-LCHlch(66.47, 66.04, 317.87°)
OKLaboklab(73.11% 0.1241 -0.1229)
OKLCHoklch(73.11% 0.175 315.3)
XYZxyz(50.3017, 35.9327, 88.2731)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D182F2 #A3F282
analogous
#9982F2 #D182F2 #F282DB
triadic
#D182F2 #F2D182 #82F2D1
tetradic
#D182F2 #F29982 #A3F282 #82DBF2
square
#D182F2 #F29982 #A3F282 #82DBF2
split-complementary
#D182F2 #DBF282 #82F299
monochromatic
#A618E2 #BD4BEC #D182F2 #E5B9F8 #F5E3FC

Accessibility & contrast

On white

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

On black

8.19
#D182F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D182F2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D182F2#FFFFFF#000000##000000
##D182F21.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#CF92AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d182f2;
/* rgb */ color: rgb(209, 130, 242);
/* oklch */ color: oklch(73.1% 0.175 315.3);
Tailwind
colors: {
  custom: {
    50: '#e1a8f7',
    500: '#d182f2',
    950: '#000000',
  },
}
SCSS
$custom: #d182f2;
$custom-light: #e1a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d182f2",
  "rgb": {
    "r": 209,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 282.321,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7311,
    "c": 0.17466,
    "h": 315.3
  },
  "luminance": 0.35931
}

Semantic roles & 50–950 ramp

primary
#D182F2
secondary
#E0F4D7
accent
#DE0847
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#151017
muted
#847F85

Preview Lab

Preview with #D182F2

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

Preview Lab → · Contrast checker → · Palette generator →

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