#CF98CC#CF98CC

#CF98CC is a light, moderate purple. Relative luminance 0.401; OKLCH L 74.9% C 0.095 H 328.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CF98CC
RGBrgb(207, 152, 204)
HSLhsl(303, 36%, 70%)
HSVhsv(303, 27%, 81%)
CMYKcmyk(0%, 26.6%, 1.4%, 18.8%)
CIE-LABlab(69.53, 29.12, -18.60)
CIE-LCHlch(69.53, 34.56, 327.43°)
OKLaboklab(74.87% 0.0811 -0.0501)
OKLCHoklch(74.87% 0.095 328.3)
XYZxyz(47.8584, 40.0830, 62.3308)
Luminance0.4008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98CC #98CF9B
analogous
#B698CF #CF98CC #CF98B0
triadic
#CF98CC #CCCF98 #98CCCF
tetradic
#CF98CC #CFB698 #98CF9B #98B0CF
square
#CF98CC #CFB698 #98CF9B #98B0CF
split-complementary
#CF98CC #B0CF98 #98CFB6
monochromatic
#A14B9D #BC6EB7 #CF98CC #E2C2E1 #F5EAF5

Accessibility & contrast

On white

2.33
#CF98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CF98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98CC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98CC#FFFFFF#000000##000000
##CF98CC1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CE
Deuteranopia (green-blind)
#A2ACCA
Tritanopia (blue-blind)
#D39CAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf98cc;
/* rgb */ color: rgb(207, 152, 204);
/* oklch */ color: oklch(74.9% 0.095 328.3);
Tailwind
colors: {
  custom: {
    50: '#deb7db',
    500: '#cf98cc',
    950: '#000000',
  },
}
SCSS
$custom: #cf98cc;
$custom-light: #deb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98cc",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 303.273,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74874,
    "c": 0.09533,
    "h": 328.3
  },
  "luminance": 0.40082
}

Semantic roles & 50–950 ramp

primary
#CF98CC
secondary
#DAE9DB
accent
#AF3D36
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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