#D198FB#D198FB

#D198FB is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.0% C 0.149 H 309.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#D198FB
RGBrgb(209, 152, 251)
HSLhsl(275, 93%, 79%)
HSVhsv(275, 39%, 98%)
CMYKcmyk(16.7%, 39.4%, 0%, 1.6%)
CIE-LABlab(71.54, 39.16, -41.28)
CIE-LCHlch(71.54, 56.90, 313.49°)
OKLaboklab(77.04% 0.0951 -0.1143)
OKLCHoklch(77.04% 0.149 309.7)
XYZxyz(54.9321, 42.9776, 96.6497)
Luminance0.4298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198FB #C2FB98
analogous
#A098FB #D198FB #FB98F4
triadic
#D198FB #FBD198 #98FBD1
tetradic
#D198FB #FBA098 #C2FB98 #98F4FB
square
#D198FB #FBA098 #C2FB98 #98F4FB
split-complementary
#D198FB #F4FB98 #98FBA0
monochromatic
#9C22F6 #B75DF9 #D198FB #EBD3FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.60
#D198FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198FB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198FB#FFFFFF#000000##000000
##D198FB1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d198fb;
/* rgb */ color: rgb(209, 152, 251);
/* oklch */ color: oklch(77.0% 0.149 309.7);
Tailwind
colors: {
  custom: {
    50: '#e0b7fd',
    500: '#d198fb',
    950: '#000000',
  },
}
SCSS
$custom: #d198fb;
$custom-light: #e0b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d198fb",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 274.545,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77043,
    "c": 0.14869,
    "h": 309.7
  },
  "luminance": 0.42977
}

Semantic roles & 50–950 ramp

primary
#D198FB
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D198FB

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

Preview Lab → · Contrast checker → · Palette generator →

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