#D198FE#D198FE

#D198FE is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.2% C 0.152 H 308.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#D198FE
RGBrgb(209, 152, 254)
HSLhsl(274, 98%, 80%)
HSVhsv(274, 40%, 100%)
CMYKcmyk(17.7%, 40.2%, 0%, 0.4%)
CIE-LABlab(71.67, 39.80, -42.71)
CIE-LCHlch(71.67, 58.38, 312.98°)
OKLaboklab(77.18% 0.0956 -0.1184)
OKLCHoklch(77.18% 0.152 308.9)
XYZxyz(55.4088, 43.1682, 99.1601)
Luminance0.4317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198FE #C5FE98
analogous
#9E98FE #D198FE #FE98F8
triadic
#D198FE #FED198 #98FED1
tetradic
#D198FE #FE9E98 #C5FE98 #98F8FE
square
#D198FE #FE9E98 #C5FE98 #98F8FE
split-complementary
#D198FE #F8FE98 #98FE9E
monochromatic
#9B1FFD #B65BFD #D198FE #ECD5FF #F1E1FF

Accessibility & contrast

On white

2.18
#D198FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#D198FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198FE
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198FE#FFFFFF#000000##000000
##D198FE1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#90B0FB
Tritanopia (blue-blind)
#CBA7BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d198fe;
/* rgb */ color: rgb(209, 152, 254);
/* oklch */ color: oklch(77.2% 0.152 308.9);
Tailwind
colors: {
  custom: {
    50: '#e0b7ff',
    500: '#d198fe',
    950: '#000000',
  },
}
SCSS
$custom: #d198fe;
$custom-light: #e0b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d198fe",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 273.529,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77183,
    "c": 0.15223,
    "h": 308.9
  },
  "luminance": 0.43168
}

Semantic roles & 50–950 ramp

primary
#D198FE
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D198FE

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

Preview Lab → · Contrast checker → · Palette generator →

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