#CA98EA#CA98EA

#CA98EA is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.6% C 0.126 H 311.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CA98EA
RGBrgb(202, 152, 234)
HSLhsl(277, 66%, 76%)
HSVhsv(277, 35%, 92%)
CMYKcmyk(13.7%, 35%, 0%, 8.2%)
CIE-LABlab(70.14, 33.48, -34.23)
CIE-LCHlch(70.14, 47.88, 314.37°)
OKLaboklab(75.6% 0.0834 -0.0942)
OKLCHoklch(75.6% 0.126 311.5)
XYZxyz(50.4341, 40.9543, 83.0741)
Luminance0.4095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98EA #B8EA98
analogous
#A198EA #CA98EA #EA98E1
triadic
#CA98EA #EACA98 #98EACA
tetradic
#CA98EA #EAA198 #B8EA98 #98E1EA
square
#CA98EA #EAA198 #B8EA98 #98E1EA
split-complementary
#CA98EA #E1EA98 #98EAA1
monochromatic
#9632D5 #B065E0 #CA98EA #E4CBF4 #F2E6FA

Accessibility & contrast

On white

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

On black

9.19
#CA98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98EA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98EA#FFFFFF#000000##000000
##CA98EA1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9ED
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#C7A3B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca98ea;
/* rgb */ color: rgb(202, 152, 234);
/* oklch */ color: oklch(75.6% 0.126 311.5);
Tailwind
colors: {
  custom: {
    50: '#dbb7f1',
    500: '#ca98ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca98ea;
$custom-light: #dbb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98ea",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 276.585,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75596,
    "c": 0.12584,
    "h": 311.5
  },
  "luminance": 0.40954
}

Semantic roles & 50–950 ramp

primary
#CA98EA
secondary
#E3F1DA
accent
#CE185F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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