#D182FE#D182FE

#D182FE is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.7% C 0.188 H 312.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D182FE
RGBrgb(209, 130, 254)
HSLhsl(278, 98%, 75%)
HSVhsv(278, 49%, 100%)
CMYKcmyk(17.7%, 48.8%, 0%, 0.4%)
CIE-LABlab(67.03, 51.46, -49.99)
CIE-LCHlch(67.03, 71.74, 315.83°)
OKLaboklab(73.72% 0.1256 -0.1394)
OKLCHoklch(73.72% 0.188 312)
XYZxyz(52.1634, 36.6774, 98.0783)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D182FE #AFFE82
analogous
#9382FE #D182FE #FE82ED
triadic
#D182FE #FED182 #82FED1
tetradic
#D182FE #FE9382 #AFFE82 #82EDFE
square
#D182FE #FE9382 #AFFE82 #82EDFE
split-complementary
#D182FE #EDFE82 #82FE93
monochromatic
#A409FD #BB45FE #D182FE #E7BFFE #F4E1FF

Accessibility & contrast

On white

2.52
#D182FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#D182FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D182FE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D182FE#FFFFFF#000000##000000
##D182FE1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#CC96B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d182fe;
/* rgb */ color: rgb(209, 130, 254);
/* oklch */ color: oklch(73.7% 0.188 312.0);
Tailwind
colors: {
  custom: {
    50: '#e1a8ff',
    500: '#d182fe',
    950: '#000000',
  },
}
SCSS
$custom: #d182fe;
$custom-light: #e1a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d182fe",
  "rgb": {
    "r": 209,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 278.226,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73715,
    "c": 0.18765,
    "h": 312
  },
  "luminance": 0.36676
}

Semantic roles & 50–950 ramp

primary
#D182FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D182FE

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

Preview Lab → · Contrast checker → · Palette generator →

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