#DC8FFB#DC8FFB

#DC8FFB is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.7% C 0.168 H 315.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#DC8FFB
RGBrgb(220, 143, 251)
HSLhsl(283, 93%, 77%)
HSVhsv(283, 43%, 98%)
CMYKcmyk(12.4%, 43%, 0%, 1.6%)
CIE-LABlab(70.75, 47.09, -42.43)
CIE-LCHlch(70.75, 63.39, 317.98°)
OKLaboklab(76.71% 0.1203 -0.1173)
OKLCHoklch(76.71% 0.168 315.7)
XYZxyz(56.7476, 41.8271, 96.3322)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8FFB #AEFB8F
analogous
#A68FFB #DC8FFB #FB8FE4
triadic
#DC8FFB #FBDC8F #8FFBDC
tetradic
#DC8FFB #FBA68F #AEFB8F #8FE4FB
square
#DC8FFB #FBA68F #AEFB8F #8FE4FB
split-complementary
#DC8FFB #E4FB8F #8FFBA6
monochromatic
#B719F7 #CA54F9 #DC8FFB #EECAFD #F6E1FE

Accessibility & contrast

On white

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

On black

9.37
#DC8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8FFB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8FFB#FFFFFF#000000##000000
##DC8FFB1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#DB9EB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8ffb;
/* rgb */ color: rgb(220, 143, 251);
/* oklch */ color: oklch(76.7% 0.168 315.7);
Tailwind
colors: {
  custom: {
    50: '#e8b1fd',
    500: '#dc8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ffb;
$custom-light: #e8b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ffb",
  "rgb": {
    "r": 220,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 282.778,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76708,
    "c": 0.16805,
    "h": 315.7
  },
  "luminance": 0.41826
}

Semantic roles & 50–950 ramp

primary
#DC8FFB
secondary
#DEF6D5
accent
#E60042
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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