#CF98DA#CF98DA

#CF98DA is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.4% C 0.110 H 320.7°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CF98DA
RGBrgb(207, 152, 218)
HSLhsl(290, 47%, 73%)
HSVhsv(290, 30%, 85%)
CMYKcmyk(5%, 30.3%, 0%, 14.5%)
CIE-LABlab(70.03, 31.79, -25.58)
CIE-LCHlch(70.03, 40.80, 321.18°)
OKLaboklab(75.42% 0.0851 -0.0696)
OKLCHoklch(75.42% 0.11 320.7)
XYZxyz(49.6136, 40.7851, 71.5749)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98DA #A3DA98
analogous
#AE98DA #CF98DA #DA98C4
triadic
#CF98DA #DACF98 #98DACF
tetradic
#CF98DA #DAAE98 #A3DA98 #98C4DA
square
#CF98DA #DAAE98 #A3DA98 #98C4DA
split-complementary
#CF98DA #C4DA98 #98DAAE
monochromatic
#A341B6 #BA6BCA #CF98DA #E4C5EA #F5E8F7

Accessibility & contrast

On white

2.29
#CF98DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#CF98DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98DA
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98DA#FFFFFF#000000##000000
##CF98DA1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A7DD
Deuteranopia (green-blind)
#9EADD8
Tritanopia (blue-blind)
#D09FB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf98da;
/* rgb */ color: rgb(207, 152, 218);
/* oklch */ color: oklch(75.4% 0.110 320.7);
Tailwind
colors: {
  custom: {
    50: '#deb7e5',
    500: '#cf98da',
    950: '#000000',
  },
}
SCSS
$custom: #cf98da;
$custom-light: #deb7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98da",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 290,
    "s": 47.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75417,
    "c": 0.10996,
    "h": 320.7
  },
  "luminance": 0.40784
}

Semantic roles & 50–950 ramp

primary
#CF98DA
secondary
#E0EEDD
accent
#BA2B43
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CF98DA

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

Preview Lab → · Contrast checker → · Palette generator →

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