#DC98FF#DC98FF

#DC98FF is a light, vivid violet. Relative luminance 0.449; OKLCH L 78.3% C 0.158 H 313.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#DC98FF
RGBrgb(220, 152, 255)
HSLhsl(280, 100%, 80%)
HSVhsv(280, 40%, 100%)
CMYKcmyk(13.7%, 40.4%, 0%, 0%)
CIE-LABlab(72.82, 43.16, -41.37)
CIE-LCHlch(72.82, 59.79, 316.22°)
OKLaboklab(78.32% 0.1085 -0.1143)
OKLCHoklch(78.32% 0.158 313.5)
XYZxyz(58.7905, 44.8933, 100.1566)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98FF #BBFF98
analogous
#A998FF #DC98FF #FF98EE
triadic
#DC98FF #FFDC98 #98FFDC
tetradic
#DC98FF #FFA998 #BBFF98 #98EEFF
square
#DC98FF #FFA998 #BBFF98 #98EEFF
split-complementary
#DC98FF #EEFF98 #98FFA9
monochromatic
#B21EFF #C75BFF #DC98FF #F1D5FF #F5E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC98FF#FFFFFF#000000##000000
##DC98FF1.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)
#85AFFF
Deuteranopia (green-blind)
#96B4FC
Tritanopia (blue-blind)
#D9A6C0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #dc98ff;
/* rgb */ color: rgb(220, 152, 255);
/* oklch */ color: oklch(78.3% 0.158 313.5);
Tailwind
colors: {
  custom: {
    50: '#e8b7ff',
    500: '#dc98ff',
    950: '#000000',
  },
}
SCSS
$custom: #dc98ff;
$custom-light: #e8b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98ff",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 279.612,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78318,
    "c": 0.15761,
    "h": 313.5
  },
  "luminance": 0.44892
}

Semantic roles & 50–950 ramp

primary
#DC98FF
secondary
#E0F7D4
accent
#E6004E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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