#CA88ED#CA88ED

#CA88ED is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.1% C 0.156 H 313.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CA88ED
RGBrgb(202, 136, 237)
HSLhsl(279, 74%, 73%)
HSVhsv(279, 43%, 93%)
CMYKcmyk(14.8%, 42.6%, 0%, 7.1%)
CIE-LABlab(66.73, 42.79, -41.19)
CIE-LCHlch(66.73, 59.39, 316.09°)
OKLaboklab(73.06% 0.1068 -0.1141)
OKLCHoklch(73.06% 0.156 313.1)
XYZxyz(48.4448, 36.2803, 84.5551)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88ED #ABED88
analogous
#9788ED #CA88ED #ED88DD
triadic
#CA88ED #EDCA88 #88EDCA
tetradic
#CA88ED #ED9788 #ABED88 #88DDED
square
#CA88ED #ED9788 #ABED88 #88DDED
split-complementary
#CA88ED #DDED88 #88ED97
monochromatic
#9A21DA #B253E5 #CA88ED #E2BDF5 #F3E4FB

Accessibility & contrast

On white

2.54
#CA88ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CA88ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88ED
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88ED#FFFFFF#000000##000000
##CA88ED1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#C797AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca88ed;
/* rgb */ color: rgb(202, 136, 237);
/* oklch */ color: oklch(73.1% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#dcacf3',
    500: '#ca88ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca88ed;
$custom-light: #dcacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88ed",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 279.208,
    "s": 73.723,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73064,
    "c": 0.15629,
    "h": 313.1
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#CA88ED
secondary
#E1F3D8
accent
#D61054
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA88ED

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

Preview Lab → · Contrast checker → · Palette generator →

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