#D198FA#D198FA

#D198FA is a light, vivid violet. Relative luminance 0.429; OKLCH L 77.0% C 0.148 H 310.0°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D198FA
RGBrgb(209, 152, 250)
HSLhsl(275, 91%, 79%)
HSVhsv(275, 39%, 98%)
CMYKcmyk(16.4%, 39.2%, 0%, 2%)
CIE-LABlab(71.50, 38.94, -40.80)
CIE-LCHlch(71.50, 56.41, 313.67°)
OKLaboklab(77% 0.0949 -0.1129)
OKLCHoklch(77% 0.148 310)
XYZxyz(54.7749, 42.9147, 95.8218)
Luminance0.4291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198FA #C1FA98
analogous
#A098FA #D198FA #FA98F2
triadic
#D198FA #FAD198 #98FAD1
tetradic
#D198FA #FAA098 #C1FA98 #98F2FA
square
#D198FA #FAA098 #C1FA98 #98F2FA
split-complementary
#D198FA #F2FA98 #98FAA0
monochromatic
#9D23F4 #B75EF7 #D198FA #EBD2FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.58
#D198FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198FA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198FA#FFFFFF#000000##000000
##D198FA1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#CCA6BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d198fa;
/* rgb */ color: rgb(209, 152, 250);
/* oklch */ color: oklch(77.0% 0.148 310.0);
Tailwind
colors: {
  custom: {
    50: '#e0b7fc',
    500: '#d198fa',
    950: '#000000',
  },
}
SCSS
$custom: #d198fa;
$custom-light: #e0b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d198fa",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 274.898,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76997,
    "c": 0.14751,
    "h": 310
  },
  "luminance": 0.42914
}

Semantic roles & 50–950 ramp

primary
#D198FA
secondary
#E3F6D5
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D198FA

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

Preview Lab → · Contrast checker → · Palette generator →

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