#DF98FF#DF98FF

#DF98FF is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.6% C 0.159 H 314.8°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#DF98FF
RGBrgb(223, 152, 255)
HSLhsl(281, 100%, 80%)
HSVhsv(281, 40%, 100%)
CMYKcmyk(12.5%, 40.4%, 0%, 0%)
CIE-LABlab(73.13, 44.03, -40.86)
CIE-LCHlch(73.13, 60.07, 317.14°)
OKLaboklab(78.62% 0.1119 -0.1128)
OKLCHoklch(78.62% 0.159 314.8)
XYZxyz(59.7068, 45.3658, 100.1996)
Luminance0.4536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98FF #B8FF98
analogous
#AB98FF #DF98FF #FF98EC
triadic
#DF98FF #FFDF98 #98FFDF
tetradic
#DF98FF #FFAB98 #B8FF98 #98ECFF
square
#DF98FF #FFAB98 #B8FF98 #98ECFF
split-complementary
#DF98FF #ECFF98 #98FFAB
monochromatic
#B91EFF #CC5BFF #DF98FF #F2D5FF #F5E0FF

Accessibility & contrast

On white

2.08
#DF98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#DF98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98FF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98FF#FFFFFF#000000##000000
##DF98FF1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#DDA6C0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #df98ff;
/* rgb */ color: rgb(223, 152, 255);
/* oklch */ color: oklch(78.6% 0.159 314.8);
Tailwind
colors: {
  custom: {
    50: '#eab7ff',
    500: '#df98ff',
    950: '#000000',
  },
}
SCSS
$custom: #df98ff;
$custom-light: #eab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df98ff",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 281.359,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.15892,
    "h": 314.8
  },
  "luminance": 0.45364
}

Semantic roles & 50–950 ramp

primary
#DF98FF
secondary
#DFF7D4
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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