#D181FE#D181FE

#D181FE is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.6% C 0.189 H 312.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D181FE
RGBrgb(209, 129, 254)
HSLhsl(278, 98%, 75%)
HSVhsv(278, 49%, 100%)
CMYKcmyk(17.7%, 49.2%, 0%, 0.4%)
CIE-LABlab(66.83, 51.98, -50.31)
CIE-LCHlch(66.83, 72.33, 315.94°)
OKLaboklab(73.57% 0.1269 -0.1403)
OKLCHoklch(73.57% 0.189 312.1)
XYZxyz(52.0310, 36.4127, 98.0341)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181FE #AEFE81
analogous
#9281FE #D181FE #FE81EC
triadic
#D181FE #FED181 #81FED1
tetradic
#D181FE #FE9281 #AEFE81 #81ECFE
square
#D181FE #FE9281 #AEFE81 #81ECFE
split-complementary
#D181FE #ECFE81 #81FE92
monochromatic
#A508FD #BB44FE #D181FE #E7BEFE #F4E1FF

Accessibility & contrast

On white

2.54
#D181FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D181FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181FE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181FE#FFFFFF#000000##000000
##D181FE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#7BA4FB
Tritanopia (blue-blind)
#CC95B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d181fe;
/* rgb */ color: rgb(209, 129, 254);
/* oklch */ color: oklch(73.6% 0.189 312.1);
Tailwind
colors: {
  custom: {
    50: '#e1a8ff',
    500: '#d181fe',
    950: '#000000',
  },
}
SCSS
$custom: #d181fe;
$custom-light: #e1a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d181fe",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 278.4,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73567,
    "c": 0.18922,
    "h": 312.1
  },
  "luminance": 0.36412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D181FE

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

Preview Lab → · Contrast checker → · Palette generator →

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