#D082FC#D082FC

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

Color values

HEX#D082FC
RGBrgb(208, 130, 252)
HSLhsl(278, 95%, 75%)
HSVhsv(278, 48%, 99%)
CMYKcmyk(17.5%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.83, 50.77, -49.23)
CIE-LCHlch(66.83, 70.72, 315.88°)
OKLaboklab(73.51% 0.1242 -0.1372)
OKLCHoklch(73.51% 0.185 312.2)
XYZxyz(51.5627, 36.4045, 96.3871)
Luminance0.3640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D082FC #AEFC82
analogous
#9382FC #D082FC #FC82EB
triadic
#D082FC #FCD082 #82FCD0
tetradic
#D082FC #FC9382 #AEFC82 #82EBFC
square
#D082FC #FC9382 #AEFC82 #82EBFC
split-complementary
#D082FC #EBFC82 #82FC93
monochromatic
#A30AF9 #BA46FB #D082FC #E6BEFD #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D082FC#FFFFFF#000000##000000
##D082FC1.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)
#669FFF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#CC95B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d082fc;
/* rgb */ color: rgb(208, 130, 252);
/* oklch */ color: oklch(73.5% 0.185 312.2);
Tailwind
colors: {
  custom: {
    50: '#e1a8fe',
    500: '#d082fc',
    950: '#000000',
  },
}
SCSS
$custom: #d082fc;
$custom-light: #e1a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d082fc",
  "rgb": {
    "r": 208,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 278.361,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73506,
    "c": 0.18509,
    "h": 312.2
  },
  "luminance": 0.36403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D082FC

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

Preview Lab → · Contrast checker → · Palette generator →

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