#DC98EB#DC98EB

#DC98EB is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.4% C 0.136 H 320.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#DC98EB
RGBrgb(220, 152, 235)
HSLhsl(289, 67%, 76%)
HSVhsv(289, 35%, 92%)
CMYKcmyk(6.4%, 35.3%, 0%, 7.8%)
CIE-LABlab(72.01, 39.16, -31.75)
CIE-LCHlch(72.01, 50.41, 320.97°)
OKLaboklab(77.44% 0.1042 -0.0868)
OKLCHoklch(77.44% 0.136 320.2)
XYZxyz(55.7369, 43.6719, 84.0746)
Luminance0.4367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98EB #A7EB98
analogous
#B298EB #DC98EB #EB98D0
triadic
#DC98EB #EBDC98 #98EBDC
tetradic
#DC98EB #EBB298 #A7EB98 #98D0EB
square
#DC98EB #EBB298 #A7EB98 #98D0EB
split-complementary
#DC98EB #D0EB98 #98EBB2
monochromatic
#B932D7 #CB65E1 #DC98EB #EDCBF5 #F6E5FA

Accessibility & contrast

On white

2.16
#DC98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#DC98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98EB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98EB#FFFFFF#000000##000000
##DC98EB1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#DDA1B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc98eb;
/* rgb */ color: rgb(220, 152, 235);
/* oklch */ color: oklch(77.4% 0.136 320.2);
Tailwind
colors: {
  custom: {
    50: '#e8b7f1',
    500: '#dc98eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc98eb;
$custom-light: #e8b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98eb",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 289.157,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77438,
    "c": 0.13568,
    "h": 320.2
  },
  "luminance": 0.4367
}

Semantic roles & 50–950 ramp

primary
#DC98EB
secondary
#DEF2D9
accent
#CF1638
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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