#CF98EA#CF98EA

#CF98EA is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.1% C 0.128 H 314.1°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CF98EA
RGBrgb(207, 152, 234)
HSLhsl(280, 66%, 76%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(11.5%, 35%, 0%, 8.2%)
CIE-LABlab(70.64, 35.00, -33.42)
CIE-LCHlch(70.64, 48.39, 316.32°)
OKLaboklab(76.09% 0.0891 -0.0918)
OKLCHoklch(76.09% 0.128 314.1)
XYZxyz(51.8093, 41.6634, 83.1385)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98EA #B3EA98
analogous
#A698EA #CF98EA #EA98DC
triadic
#CF98EA #EACF98 #98EACF
tetradic
#CF98EA #EAA698 #B3EA98 #98DCEA
square
#CF98EA #EAA698 #B3EA98 #98DCEA
split-complementary
#CF98EA #DCEA98 #98EAA6
monochromatic
#A032D5 #B765E0 #CF98EA #E7CBF4 #F3E6FA

Accessibility & contrast

On white

2.25
#CF98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CF98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98EA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98EA#FFFFFF#000000##000000
##CF98EA1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#98AEE8
Tritanopia (blue-blind)
#CDA3B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf98ea;
/* rgb */ color: rgb(207, 152, 234);
/* oklch */ color: oklch(76.1% 0.128 314.1);
Tailwind
colors: {
  custom: {
    50: '#deb7f1',
    500: '#cf98ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf98ea;
$custom-light: #deb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98ea",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 280.244,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.128,
    "h": 314.1
  },
  "luminance": 0.41662
}

Semantic roles & 50–950 ramp

primary
#CF98EA
secondary
#E1F1DA
accent
#CE1854
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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