#CA88EE#CA88EE

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

Color values

HEX#CA88EE
RGBrgb(202, 136, 238)
HSLhsl(279, 75%, 73%)
HSVhsv(279, 43%, 93%)
CMYKcmyk(15.1%, 42.9%, 0%, 6.7%)
CIE-LABlab(66.78, 43.00, -41.67)
CIE-LCHlch(66.78, 59.88, 315.90°)
OKLaboklab(73.11% 0.107 -0.1155)
OKLCHoklch(73.11% 0.157 312.8)
XYZxyz(48.5913, 36.3389, 85.3267)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88EE #ACEE88
analogous
#9788EE #CA88EE #EE88DF
triadic
#CA88EE #EECA88 #88EECA
tetradic
#CA88EE #EE9788 #ACEE88 #88DFEE
square
#CA88EE #EE9788 #ACEE88 #88DFEE
split-complementary
#CA88EE #DFEE88 #88EE97
monochromatic
#9A1FDC #B252E6 #CA88EE #E2BEF6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.27
#CA88EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88EE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88EE#FFFFFF#000000##000000
##CA88EE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#C797B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca88ee;
/* rgb */ color: rgb(202, 136, 238);
/* oklch */ color: oklch(73.1% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#dcacf4',
    500: '#ca88ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca88ee;
$custom-light: #dcacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88ee",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 278.824,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73112,
    "c": 0.15742,
    "h": 312.8
  },
  "luminance": 0.36338
}

Semantic roles & 50–950 ramp

primary
#CA88EE
secondary
#E2F3D8
accent
#D70E55
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA88EE

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

Preview Lab → · Contrast checker → · Palette generator →

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