#CF98CF#CF98CF

#CF98CF is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.0% C 0.098 H 326.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CF98CF
RGBrgb(207, 152, 207)
HSLhsl(300, 36%, 70%)
HSVhsv(300, 27%, 81%)
CMYKcmyk(0%, 26.6%, 0%, 18.8%)
CIE-LABlab(69.63, 29.68, -20.11)
CIE-LCHlch(69.63, 35.85, 325.89°)
OKLaboklab(74.99% 0.082 -0.0543)
OKLCHoklch(74.99% 0.098 326.5)
XYZxyz(48.2217, 40.2284, 64.2441)
Luminance0.4023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98CF #98CF98
analogous
#B398CF #CF98CF #CF98B3
triadic
#CF98CF #CFCF98 #98CFCF
tetradic
#CF98CF #CFB398 #98CF98 #98B3CF
square
#CF98CF #CFB398 #98CF98 #98B3CF
split-complementary
#CF98CF #B3CF98 #98CFB3
monochromatic
#A14BA1 #BC6EBC #CF98CF #E2C2E2 #F5EAF5

Accessibility & contrast

On white

2.32
#CF98CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CF98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98CF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98CF#FFFFFF#000000##000000
##CF98CF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A6D1
Deuteranopia (green-blind)
#A1ADCD
Tritanopia (blue-blind)
#D29DAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf98cf;
/* rgb */ color: rgb(207, 152, 207);
/* oklch */ color: oklch(75.0% 0.098 326.5);
Tailwind
colors: {
  custom: {
    50: '#deb7dd',
    500: '#cf98cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf98cf;
$custom-light: #deb7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98cf",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74987,
    "c": 0.09835,
    "h": 326.5
  },
  "luminance": 0.40227
}

Semantic roles & 50–950 ramp

primary
#CF98CF
secondary
#DAE9DA
accent
#AF3636
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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