#CA88EF#CA88EF

#CA88EF is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.2% C 0.159 H 312.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CA88EF
RGBrgb(202, 136, 239)
HSLhsl(278, 76%, 74%)
HSVhsv(278, 43%, 94%)
CMYKcmyk(15.5%, 43.1%, 0%, 6.3%)
CIE-LABlab(66.82, 43.21, -42.15)
CIE-LCHlch(66.82, 60.36, 315.71°)
OKLaboklab(73.16% 0.1071 -0.1169)
OKLCHoklch(73.16% 0.159 312.5)
XYZxyz(48.7386, 36.3978, 86.1026)
Luminance0.3640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88EF #ADEF88
analogous
#9688EF #CA88EF #EF88E0
triadic
#CA88EF #EFCA88 #88EFCA
tetradic
#CA88EF #EF9688 #ADEF88 #88E0EF
square
#CA88EF #EF9688 #ADEF88 #88E0EF
split-complementary
#CA88EF #E0EF88 #88EF96
monochromatic
#991EDF #B252E8 #CA88EF #E2BEF6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.28
#CA88EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88EF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88EF#FFFFFF#000000##000000
##CA88EF1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#C797B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca88ef;
/* rgb */ color: rgb(202, 136, 239);
/* oklch */ color: oklch(73.2% 0.159 312.5);
Tailwind
colors: {
  custom: {
    50: '#dcacf4',
    500: '#ca88ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca88ef;
$custom-light: #dcacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88ef",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 278.447,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.15856,
    "h": 312.5
  },
  "luminance": 0.36397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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