#CF98CB#CF98CB

#CF98CB is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.8% C 0.094 H 328.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CF98CB
RGBrgb(207, 152, 203)
HSLhsl(304, 36%, 70%)
HSVhsv(304, 27%, 81%)
CMYKcmyk(0%, 26.6%, 1.9%, 18.8%)
CIE-LABlab(69.49, 28.94, -18.10)
CIE-LCHlch(69.49, 34.13, 327.98°)
OKLaboklab(74.84% 0.0808 -0.0487)
OKLCHoklch(74.84% 0.094 328.9)
XYZxyz(47.7389, 40.0352, 61.7012)
Luminance0.4003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98CB #98CF9C
analogous
#B798CF #CF98CB #CF98AF
triadic
#CF98CB #CBCF98 #98CBCF
tetradic
#CF98CB #CFB798 #98CF9C #98AFCF
square
#CF98CB #CFB798 #98CF9C #98AFCF
split-complementary
#CF98CB #AFCF98 #98CFB7
monochromatic
#A14B9B #BC6EB6 #CF98CB #E2C2E0 #F5EAF4

Accessibility & contrast

On white

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

On black

9.01
#CF98CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98CB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98CB#FFFFFF#000000##000000
##CF98CB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A5CD
Deuteranopia (green-blind)
#A2ACC9
Tritanopia (blue-blind)
#D39CAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf98cb;
/* rgb */ color: rgb(207, 152, 203);
/* oklch */ color: oklch(74.8% 0.094 328.9);
Tailwind
colors: {
  custom: {
    50: '#deb7db',
    500: '#cf98cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf98cb;
$custom-light: #deb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98cb",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 304.364,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.09435,
    "h": 328.9
  },
  "luminance": 0.40034
}

Semantic roles & 50–950 ramp

primary
#CF98CB
secondary
#DAE9DB
accent
#AF3F36
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CF98CB

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

Preview Lab → · Contrast checker → · Palette generator →

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