#DC91F2#DC91F2

#DC91F2 is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.6% C 0.155 H 318.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#DC91F2
RGBrgb(220, 145, 242)
HSLhsl(286, 79%, 76%)
HSVhsv(286, 40%, 95%)
CMYKcmyk(9.1%, 40.1%, 0%, 5.1%)
CIE-LABlab(70.79, 44.25, -37.46)
CIE-LCHlch(70.79, 57.98, 319.75°)
OKLaboklab(76.61% 0.1158 -0.1031)
OKLCHoklch(76.61% 0.155 318.3)
XYZxyz(55.6654, 41.8789, 89.1383)
Luminance0.4188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC91F2 #A7F291
analogous
#AB91F2 #DC91F2 #F291D7
triadic
#DC91F2 #F2DC91 #91F2DC
tetradic
#DC91F2 #F2AB91 #A7F291 #91D7F2
square
#DC91F2 #F2AB91 #A7F291 #91D7F2
split-complementary
#DC91F2 #D7F291 #91F2AB
monochromatic
#B924E5 #CB5AEC #DC91F2 #EDC8F8 #F6E4FC

Accessibility & contrast

On white

2.24
#DC91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#DC91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC91F2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC91F2#FFFFFF#000000##000000
##DC91F21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F6
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#DC9DB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc91f2;
/* rgb */ color: rgb(220, 145, 242);
/* oklch */ color: oklch(76.6% 0.155 318.3);
Tailwind
colors: {
  custom: {
    50: '#e8b2f6',
    500: '#dc91f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc91f2;
$custom-light: #e8b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc91f2",
  "rgb": {
    "r": 220,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 286.392,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76609,
    "c": 0.15507,
    "h": 318.3
  },
  "luminance": 0.41877
}

Semantic roles & 50–950 ramp

primary
#DC91F2
secondary
#DEF4D7
accent
#DB0A3A
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DC91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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