#DC91FE#DC91FE

#DC91FE is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.2% C 0.168 H 314.6°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#DC91FE
RGBrgb(220, 145, 254)
HSLhsl(281, 98%, 78%)
HSVhsv(281, 43%, 100%)
CMYKcmyk(13.4%, 42.9%, 0%, 0.4%)
CIE-LABlab(71.30, 46.66, -43.20)
CIE-LCHlch(71.30, 63.59, 317.20°)
OKLaboklab(77.16% 0.118 -0.1196)
OKLCHoklch(77.16% 0.168 314.6)
XYZxyz(57.5272, 42.6236, 98.9435)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC91FE #B3FE91
analogous
#A591FE #DC91FE #FE91EA
triadic
#DC91FE #FEDC91 #91FEDC
tetradic
#DC91FE #FEA591 #B3FE91 #91EAFE
square
#DC91FE #FEA591 #B3FE91 #91EAFE
split-complementary
#DC91FE #EAFE91 #91FEA5
monochromatic
#B518FD #C954FD #DC91FE #EFCEFF #F5E1FF

Accessibility & contrast

On white

2.20
#DC91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#DC91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC91FE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC91FE#FFFFFF#000000##000000
##DC91FE1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#90B1FB
Tritanopia (blue-blind)
#DAA0BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc91fe;
/* rgb */ color: rgb(220, 145, 254);
/* oklch */ color: oklch(77.2% 0.168 314.6);
Tailwind
colors: {
  custom: {
    50: '#e8b3ff',
    500: '#dc91fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc91fe;
$custom-light: #e8b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc91fe",
  "rgb": {
    "r": 220,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 281.284,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77161,
    "c": 0.16803,
    "h": 314.6
  },
  "luminance": 0.42622
}

Semantic roles & 50–950 ramp

primary
#DC91FE
secondary
#DFF7D4
accent
#E60048
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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