#D198FF#D198FF

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

Color values

HEX#D198FF
RGBrgb(209, 152, 255)
HSLhsl(273, 100%, 80%)
HSVhsv(273, 40%, 100%)
CMYKcmyk(18%, 40.4%, 0%, 0%)
CIE-LABlab(71.71, 40.02, -43.18)
CIE-LCHlch(71.71, 58.87, 312.82°)
OKLaboklab(77.23% 0.0958 -0.1198)
OKLCHoklch(77.23% 0.153 308.7)
XYZxyz(55.5693, 43.2324, 100.0056)
Luminance0.4323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198FF #C6FF98
analogous
#9E98FF #D198FF #FF98F9
triadic
#D198FF #FFD198 #98FFD1
tetradic
#D198FF #FF9E98 #C6FF98 #98F9FF
square
#D198FF #FF9E98 #C6FF98 #98F9FF
split-complementary
#D198FF #F9FF98 #98FF9E
monochromatic
#9A1EFF #B65BFF #D198FF #ECD5FF #F1E0FF

Accessibility & contrast

On white

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

On black

9.65
#D198FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198FF
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198FF#FFFFFF#000000##000000
##D198FF1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8FB1FC
Tritanopia (blue-blind)
#CBA8BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d198ff;
/* rgb */ color: rgb(209, 152, 255);
/* oklch */ color: oklch(77.2% 0.153 308.7);
Tailwind
colors: {
  custom: {
    50: '#e0b7ff',
    500: '#d198ff',
    950: '#000000',
  },
}
SCSS
$custom: #d198ff;
$custom-light: #e0b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d198ff",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 273.204,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7723,
    "c": 0.15341,
    "h": 308.7
  },
  "luminance": 0.43232
}

Semantic roles & 50–950 ramp

primary
#D198FF
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D198FF

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

Preview Lab → · Contrast checker → · Palette generator →

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