#DC9BF2#DC9BF2

#DC9BF2 is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.2% C 0.138 H 317.3°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#DC9BF2
RGBrgb(220, 155, 242)
HSLhsl(285, 77%, 78%)
HSVhsv(285, 36%, 95%)
CMYKcmyk(9.1%, 36%, 0%, 5.1%)
CIE-LABlab(72.94, 38.94, -34.13)
CIE-LCHlch(72.94, 51.77, 318.77°)
OKLaboklab(78.23% 0.1015 -0.0936)
OKLCHoklch(78.23% 0.138 317.3)
XYZxyz(57.2613, 45.0706, 89.6703)
Luminance0.4507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9BF2 #B1F29B
analogous
#B19BF2 #DC9BF2 #F29BDC
triadic
#DC9BF2 #F2DC9B #9BF2DC
tetradic
#DC9BF2 #F2B19B #B1F29B #9BDCF2
square
#DC9BF2 #F2B19B #B1F29B #9BDCF2
split-complementary
#DC9BF2 #DCF29B #9BF2B1
monochromatic
#B62FE4 #C965EB #DC9BF2 #EFD1F9 #F6E4FB

Accessibility & contrast

On white

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

On black

10.01
#DC9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9BF2
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9BF2#FFFFFF#000000##000000
##DC9BF21.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF5
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#DCA6BB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #dc9bf2;
/* rgb */ color: rgb(220, 155, 242);
/* oklch */ color: oklch(78.2% 0.138 317.3);
Tailwind
colors: {
  custom: {
    50: '#e8b9f6',
    500: '#dc9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #dc9bf2;
$custom-light: #e8b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9bf2",
  "rgb": {
    "r": 220,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 284.828,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78231,
    "c": 0.13811,
    "h": 317.3
  },
  "luminance": 0.45069
}

Semantic roles & 50–950 ramp

primary
#DC9BF2
secondary
#DFF3D8
accent
#D90C40
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DC9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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