#D180FC#D180FC

#D180FC is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.3% C 0.189 H 312.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#D180FC
RGBrgb(209, 128, 252)
HSLhsl(279, 95%, 75%)
HSVhsv(279, 49%, 99%)
CMYKcmyk(17.1%, 49.2%, 0%, 1.2%)
CIE-LABlab(66.54, 52.07, -49.68)
CIE-LCHlch(66.54, 71.97, 316.35°)
OKLaboklab(73.32% 0.1281 -0.1385)
OKLCHoklch(73.32% 0.189 312.8)
XYZxyz(51.5814, 36.0231, 96.3125)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D180FC #ABFC80
analogous
#9380FC #D180FC #FC80E9
triadic
#D180FC #FCD180 #80FCD1
tetradic
#D180FC #FC9380 #ABFC80 #80E9FC
square
#D180FC #FC9380 #ABFC80 #80E9FC
split-complementary
#D180FC #E9FC80 #80FC93
monochromatic
#A608F9 #BB44FB #D180FC #E7BCFD #F4E1FE

Accessibility & contrast

On white

2.56
#D180FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#D180FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D180FC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D180FC#FFFFFF#000000##000000
##D180FC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#CD94B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d180fc;
/* rgb */ color: rgb(209, 128, 252);
/* oklch */ color: oklch(73.3% 0.189 312.8);
Tailwind
colors: {
  custom: {
    50: '#e1a7fe',
    500: '#d180fc',
    950: '#000000',
  },
}
SCSS
$custom: #d180fc;
$custom-light: #e1a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d180fc",
  "rgb": {
    "r": 209,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 279.194,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73315,
    "c": 0.18862,
    "h": 312.8
  },
  "luminance": 0.36022
}

Semantic roles & 50–950 ramp

primary
#D180FC
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D180FC

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

Preview Lab → · Contrast checker → · Palette generator →

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