#CA89EF#CA89EF

#CA89EF is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.157 H 312.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CA89EF
RGBrgb(202, 137, 239)
HSLhsl(278, 76%, 74%)
HSVhsv(278, 43%, 94%)
CMYKcmyk(15.5%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.04, 42.67, -41.81)
CIE-LCHlch(67.04, 59.75, 315.58°)
OKLaboklab(73.32% 0.1057 -0.1159)
OKLCHoklch(73.32% 0.157 312.4)
XYZxyz(48.8801, 36.6808, 86.1498)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89EF #AEEF89
analogous
#9789EF #CA89EF #EF89E1
triadic
#CA89EF #EFCA89 #89EFCA
tetradic
#CA89EF #EF9789 #AEEF89 #89E1EF
square
#CA89EF #EF9789 #AEEF89 #89E1EF
split-complementary
#CA89EF #E1EF89 #89EF97
monochromatic
#991EDF #B253E8 #CA89EF #E2BFF6 #F3E4FB

Accessibility & contrast

On white

2.52
#CA89EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CA89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89EF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89EF#FFFFFF#000000##000000
##CA89EF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#85A5EC
Tritanopia (blue-blind)
#C798B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca89ef;
/* rgb */ color: rgb(202, 137, 239);
/* oklch */ color: oklch(73.3% 0.157 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcadf4',
    500: '#ca89ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca89ef;
$custom-light: #dcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89ef",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 278.235,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73321,
    "c": 0.1569,
    "h": 312.4
  },
  "luminance": 0.3668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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