#DC8EFB#DC8EFB

#DC8EFB is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.6% C 0.170 H 315.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#DC8EFB
RGBrgb(220, 142, 251)
HSLhsl(283, 93%, 77%)
HSVhsv(283, 43%, 98%)
CMYKcmyk(12.4%, 43.4%, 0%, 1.6%)
CIE-LABlab(70.54, 47.62, -42.75)
CIE-LCHlch(70.54, 63.99, 318.08°)
OKLaboklab(76.55% 0.1217 -0.1183)
OKLCHoklch(76.55% 0.17 315.8)
XYZxyz(56.5981, 41.5282, 96.2824)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EFB #ADFB8E
analogous
#A68EFB #DC8EFB #FB8EE3
triadic
#DC8EFB #FBDC8E #8EFBDC
tetradic
#DC8EFB #FBA68E #ADFB8E #8EE3FB
square
#DC8EFB #FBA68E #ADFB8E #8EE3FB
split-complementary
#DC8EFB #E3FB8E #8EFBA6
monochromatic
#B718F7 #CA53F9 #DC8EFB #EEC9FD #F6E1FE

Accessibility & contrast

On white

2.26
#DC8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#DC8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EFB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EFB#FFFFFF#000000##000000
##DC8EFB1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#DB9DB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8efb;
/* rgb */ color: rgb(220, 142, 251);
/* oklch */ color: oklch(76.6% 0.170 315.8);
Tailwind
colors: {
  custom: {
    50: '#e8b1fd',
    500: '#dc8efb',
    950: '#000000',
  },
}
SCSS
$custom: #dc8efb;
$custom-light: #e8b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8efb",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 282.936,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76553,
    "c": 0.16969,
    "h": 315.8
  },
  "luminance": 0.41527
}

Semantic roles & 50–950 ramp

primary
#DC8EFB
secondary
#DEF6D5
accent
#E60041
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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