#DC91FC#DC91FC

#DC91FC is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.1% C 0.166 H 315.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#DC91FC
RGBrgb(220, 145, 252)
HSLhsl(282, 95%, 78%)
HSVhsv(282, 42%, 99%)
CMYKcmyk(12.7%, 42.5%, 0%, 1.2%)
CIE-LABlab(71.21, 46.25, -42.25)
CIE-LCHlch(71.21, 62.64, 317.58°)
OKLaboklab(77.07% 0.1177 -0.1169)
OKLCHoklch(77.07% 0.166 315.2)
XYZxyz(57.2086, 42.4961, 97.2655)
Luminance0.4249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC91FC #B1FC91
analogous
#A691FC #DC91FC #FC91E6
triadic
#DC91FC #FCDC91 #91FCDC
tetradic
#DC91FC #FCA691 #B1FC91 #91E6FC
square
#DC91FC #FCA691 #B1FC91 #91E6FC
split-complementary
#DC91FC #E6FC91 #91FCA6
monochromatic
#B61AF9 #C955FA #DC91FC #EFCDFE #F6E1FE

Accessibility & contrast

On white

2.21
#DC91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#DC91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC91FC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC91FC#FFFFFF#000000##000000
##DC91FC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#91B1F9
Tritanopia (blue-blind)
#DAA0BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc91fc;
/* rgb */ color: rgb(220, 145, 252);
/* oklch */ color: oklch(77.1% 0.166 315.2);
Tailwind
colors: {
  custom: {
    50: '#e8b3fd',
    500: '#dc91fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc91fc;
$custom-light: #e8b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc91fc",
  "rgb": {
    "r": 220,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 282.056,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77067,
    "c": 0.16585,
    "h": 315.2
  },
  "luminance": 0.42495
}

Semantic roles & 50–950 ramp

primary
#DC91FC
secondary
#DFF6D5
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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