#CF98DE#CF98DE

#CF98DE is a light, moderate purple. Relative luminance 0.410; OKLCH L 75.6% C 0.114 H 318.9°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CF98DE
RGBrgb(207, 152, 222)
HSLhsl(287, 51%, 73%)
HSVhsv(287, 32%, 87%)
CMYKcmyk(6.8%, 31.5%, 0%, 12.9%)
CIE-LABlab(70.17, 32.57, -27.55)
CIE-LCHlch(70.17, 42.66, 319.77°)
OKLaboklab(75.58% 0.0862 -0.0752)
OKLCHoklch(75.58% 0.114 318.9)
XYZxyz(50.1434, 40.9970, 74.3648)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98DE #A7DE98
analogous
#AC98DE #CF98DE #DE98CA
triadic
#CF98DE #DECF98 #98DECF
tetradic
#CF98DE #DEAC98 #A7DE98 #98CADE
square
#CF98DE #DEAC98 #A7DE98 #98CADE
split-complementary
#CF98DE #CADE98 #98DEAC
monochromatic
#A33DBF #B96ACF #CF98DE #E5C6ED #F4E8F8

Accessibility & contrast

On white

2.28
#CF98DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CF98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98DE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98DE#FFFFFF#000000##000000
##CF98DE1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E1
Deuteranopia (green-blind)
#9CADDC
Tritanopia (blue-blind)
#D0A0B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf98de;
/* rgb */ color: rgb(207, 152, 222);
/* oklch */ color: oklch(75.6% 0.114 318.9);
Tailwind
colors: {
  custom: {
    50: '#deb7e8',
    500: '#cf98de',
    950: '#000000',
  },
}
SCSS
$custom: #cf98de;
$custom-light: #deb7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98de",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 287.143,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75579,
    "c": 0.11437,
    "h": 318.9
  },
  "luminance": 0.40996
}

Semantic roles & 50–950 ramp

primary
#CF98DE
secondary
#E0EFDC
accent
#BF2747
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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