#DC9BEF#DC9BEF

#DC9BEF is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.1% C 0.135 H 318.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#DC9BEF
RGBrgb(220, 155, 239)
HSLhsl(286, 72%, 77%)
HSVhsv(286, 35%, 94%)
CMYKcmyk(7.9%, 35.1%, 0%, 6.3%)
CIE-LABlab(72.82, 38.34, -32.67)
CIE-LCHlch(72.82, 50.38, 319.56°)
OKLaboklab(78.1% 0.1008 -0.0895)
OKLCHoklch(78.1% 0.135 318.4)
XYZxyz(56.8144, 44.8918, 87.3168)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9BEF #AEEF9B
analogous
#B29BEF #DC9BEF #EF9BD8
triadic
#DC9BEF #EFDC9B #9BEFDC
tetradic
#DC9BEF #EFB29B #AEEF9B #9BD8EF
square
#DC9BEF #EFB29B #AEEF9B #9BD8EF
split-complementary
#DC9BEF #D8EF9B #9BEFB2
monochromatic
#B731DE #CA66E7 #DC9BEF #EED0F7 #F6E5FB

Accessibility & contrast

On white

2.10
#DC9BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#DC9BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9BEF
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9BEF#FFFFFF#000000##000000
##DC9BEF1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF2
Deuteranopia (green-blind)
#9FB5EC
Tritanopia (blue-blind)
#DCA5BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #dc9bef;
/* rgb */ color: rgb(220, 155, 239);
/* oklch */ color: oklch(78.1% 0.135 318.4);
Tailwind
colors: {
  custom: {
    50: '#e8b9f4',
    500: '#dc9bef',
    950: '#000000',
  },
}
SCSS
$custom: #dc9bef;
$custom-light: #e8b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9bef",
  "rgb": {
    "r": 220,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 286.429,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78103,
    "c": 0.13483,
    "h": 318.4
  },
  "luminance": 0.4489
}

Semantic roles & 50–950 ramp

primary
#DC9BEF
secondary
#DEF2D9
accent
#D4113D
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC9BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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