#CA98DA#CA98DA

#CA98DA is a light, moderate purple. Relative luminance 0.401; OKLCH L 74.9% C 0.107 H 317.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CA98DA
RGBrgb(202, 152, 218)
HSLhsl(285, 47%, 73%)
HSVhsv(285, 30%, 85%)
CMYKcmyk(7.3%, 30.3%, 0%, 14.5%)
CIE-LABlab(69.52, 30.19, -26.39)
CIE-LCHlch(69.52, 40.10, 318.84°)
OKLaboklab(74.92% 0.0794 -0.072)
OKLCHoklch(74.92% 0.107 317.8)
XYZxyz(48.2384, 40.0760, 71.5104)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98DA #A8DA98
analogous
#A998DA #CA98DA #DA98C9
triadic
#CA98DA #DACA98 #98DACA
tetradic
#CA98DA #DAA998 #A8DA98 #98C9DA
square
#CA98DA #DAA998 #A8DA98 #98C9DA
split-complementary
#CA98DA #C9DA98 #98DAA9
monochromatic
#9A41B6 #B36BCA #CA98DA #E1C5EA #F3E8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA98DA#FFFFFF#000000##000000
##CA98DA1.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)
#90A7DD
Deuteranopia (green-blind)
#9BABD8
Tritanopia (blue-blind)
#CAA0B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca98da;
/* rgb */ color: rgb(202, 152, 218);
/* oklch */ color: oklch(74.9% 0.107 317.8);
Tailwind
colors: {
  custom: {
    50: '#dbb7e5',
    500: '#ca98da',
    950: '#000000',
  },
}
SCSS
$custom: #ca98da;
$custom-light: #dbb7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98da",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 285.455,
    "s": 47.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7492,
    "c": 0.10717,
    "h": 317.8
  },
  "luminance": 0.40075
}

Semantic roles & 50–950 ramp

primary
#CA98DA
secondary
#E1EEDD
accent
#BA2B4E
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CA98DA

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

Preview Lab → · Contrast checker → · Palette generator →

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