#CA98EE#CA98EE

#CA98EE is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.8% C 0.131 H 310.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CA98EE
RGBrgb(202, 152, 238)
HSLhsl(275, 72%, 76%)
HSVhsv(275, 36%, 93%)
CMYKcmyk(15.1%, 36.1%, 0%, 6.7%)
CIE-LABlab(70.31, 34.33, -36.17)
CIE-LCHlch(70.31, 49.87, 313.51°)
OKLaboklab(75.77% 0.0843 -0.0998)
OKLCHoklch(75.77% 0.131 310.2)
XYZxyz(51.0152, 41.1867, 86.1347)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98EE #BCEE98
analogous
#9F98EE #CA98EE #EE98E7
triadic
#CA98EE #EECA98 #98EECA
tetradic
#CA98EE #EE9F98 #BCEE98 #98E7EE
square
#CA98EE #EE9F98 #BCEE98 #98E7EE
split-complementary
#CA98EE #E7EE98 #98EE9F
monochromatic
#942FDD #AF63E5 #CA98EE #E5CDF7 #F1E5FB

Accessibility & contrast

On white

2.27
#CA98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CA98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98EE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98EE#FFFFFF#000000##000000
##CA98EE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#C6A4B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca98ee;
/* rgb */ color: rgb(202, 152, 238);
/* oklch */ color: oklch(75.8% 0.131 310.2);
Tailwind
colors: {
  custom: {
    50: '#dbb7f4',
    500: '#ca98ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca98ee;
$custom-light: #dbb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98ee",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 274.884,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75773,
    "c": 0.13063,
    "h": 310.2
  },
  "luminance": 0.41186
}

Semantic roles & 50–950 ramp

primary
#CA98EE
secondary
#E3F2D9
accent
#D41263
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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