#CA98DF#CA98DF

#CA98DF is a light, moderate purple. Relative luminance 0.403; OKLCH L 75.1% C 0.113 H 315.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#CA98DF
RGBrgb(202, 152, 223)
HSLhsl(282, 53%, 74%)
HSVhsv(282, 32%, 87%)
CMYKcmyk(9.4%, 31.8%, 0%, 12.5%)
CIE-LABlab(69.71, 31.20, -28.86)
CIE-LCHlch(69.71, 42.50, 317.24°)
OKLaboklab(75.13% 0.0807 -0.079)
OKLCHoklch(75.13% 0.113 315.6)
XYZxyz(48.9026, 40.3417, 75.0083)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98DF #ADDF98
analogous
#A698DF #CA98DF #DF98D0
triadic
#CA98DF #DFCA98 #98DFCA
tetradic
#CA98DF #DFA698 #ADDF98 #98D0DF
square
#CA98DF #DFA698 #ADDF98 #98D0DF
split-complementary
#CA98DF #D0DF98 #98DFA6
monochromatic
#993CC1 #B269D0 #CA98DF #E2C7EE #F3E8F8

Accessibility & contrast

On white

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

On black

9.07
#CA98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98DF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98DF#FFFFFF#000000##000000
##CA98DF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#99ACDD
Tritanopia (blue-blind)
#C9A1B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca98df;
/* rgb */ color: rgb(202, 152, 223);
/* oklch */ color: oklch(75.1% 0.113 315.6);
Tailwind
colors: {
  custom: {
    50: '#dbb7e9',
    500: '#ca98df',
    950: '#000000',
  },
}
SCSS
$custom: #ca98df;
$custom-light: #dbb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98df",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 282.254,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75126,
    "c": 0.11291,
    "h": 315.6
  },
  "luminance": 0.40341
}

Semantic roles & 50–950 ramp

primary
#CA98DF
secondary
#E2EFDC
accent
#C02553
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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