#D198FC#D198FC

#D198FC is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.1% C 0.150 H 309.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#D198FC
RGBrgb(209, 152, 252)
HSLhsl(274, 94%, 79%)
HSVhsv(274, 40%, 99%)
CMYKcmyk(17.1%, 39.7%, 0%, 1.2%)
CIE-LABlab(71.58, 39.37, -41.76)
CIE-LCHlch(71.58, 57.39, 313.32°)
OKLaboklab(77.09% 0.0953 -0.1157)
OKLCHoklch(77.09% 0.15 309.5)
XYZxyz(55.0902, 43.0408, 97.4821)
Luminance0.4304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198FC #C3FC98
analogous
#9F98FC #D198FC #FC98F5
triadic
#D198FC #FCD198 #98FCD1
tetradic
#D198FC #FC9F98 #C3FC98 #98F5FC
square
#D198FC #FC9F98 #C3FC98 #98F5FC
split-complementary
#D198FC #F5FC98 #98FC9F
monochromatic
#9C21F9 #B65DFA #D198FC #ECD3FE #F2E1FE

Accessibility & contrast

On white

2.19
#D198FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#D198FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198FC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198FC#FFFFFF#000000##000000
##D198FC1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#CCA7BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d198fc;
/* rgb */ color: rgb(209, 152, 252);
/* oklch */ color: oklch(77.1% 0.150 309.5);
Tailwind
colors: {
  custom: {
    50: '#e0b7fd',
    500: '#d198fc',
    950: '#000000',
  },
}
SCSS
$custom: #d198fc;
$custom-light: #e0b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d198fc",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 274.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7709,
    "c": 0.14987,
    "h": 309.5
  },
  "luminance": 0.4304
}

Semantic roles & 50–950 ramp

primary
#D198FC
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D198FC

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

Preview Lab → · Contrast checker → · Palette generator →

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