#DC8FF2#DC8FF2

#DC8FF2 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.3% C 0.158 H 318.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#DC8FF2
RGBrgb(220, 143, 242)
HSLhsl(287, 79%, 75%)
HSVhsv(287, 41%, 95%)
CMYKcmyk(9.1%, 40.9%, 0%, 5.1%)
CIE-LABlab(70.37, 45.30, -38.12)
CIE-LCHlch(70.37, 59.20, 319.92°)
OKLaboklab(76.29% 0.1187 -0.105)
OKLCHoklch(76.29% 0.158 318.5)
XYZxyz(55.3625, 41.2731, 89.0373)
Luminance0.4127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8FF2 #A5F28F
analogous
#AA8FF2 #DC8FF2 #F28FD6
triadic
#DC8FF2 #F2DC8F #8FF2DC
tetradic
#DC8FF2 #F2AA8F #A5F28F #8FD6F2
square
#DC8FF2 #F2AA8F #A5F28F #8FD6F2
split-complementary
#DC8FF2 #D6F28F #8FF2AA
monochromatic
#BA21E5 #CB58EC #DC8FF2 #EDC6F8 #F6E4FC

Accessibility & contrast

On white

2.27
#DC8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#DC8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8FF2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8FF2#FFFFFF#000000##000000
##DC8FF21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#DC9CB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8ff2;
/* rgb */ color: rgb(220, 143, 242);
/* oklch */ color: oklch(76.3% 0.158 318.5);
Tailwind
colors: {
  custom: {
    50: '#e8b1f6',
    500: '#dc8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ff2;
$custom-light: #e8b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ff2",
  "rgb": {
    "r": 220,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 286.667,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76294,
    "c": 0.15843,
    "h": 318.5
  },
  "luminance": 0.41271
}

Semantic roles & 50–950 ramp

primary
#DC8FF2
secondary
#DEF4D7
accent
#DB0A39
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DC8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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