#CA89F5#CA89F5

#CA89F5 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.6% C 0.164 H 310.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CA89F5
RGBrgb(202, 137, 245)
HSLhsl(276, 84%, 75%)
HSVhsv(276, 44%, 96%)
CMYKcmyk(17.6%, 44.1%, 0%, 3.9%)
CIE-LABlab(67.31, 43.95, -44.68)
CIE-LCHlch(67.31, 62.68, 314.53°)
OKLaboklab(73.61% 0.1067 -0.1242)
OKLCHoklch(73.61% 0.164 310.7)
XYZxyz(49.7812, 37.0413, 90.8957)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89F5 #B4F589
analogous
#9489F5 #CA89F5 #F589EA
triadic
#CA89F5 #F5CA89 #89F5CA
tetradic
#CA89F5 #F59489 #B4F589 #89EAF5
square
#CA89F5 #F59489 #B4F589 #89EAF5
split-complementary
#CA89F5 #EAF589 #89F594
monochromatic
#9718EB #B151F0 #CA89F5 #E3C1FA #F2E3FD

Accessibility & contrast

On white

2.50
#CA89F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CA89F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89F5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89F5#FFFFFF#000000##000000
##CA89F51.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#82A5F2
Tritanopia (blue-blind)
#C59AB3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca89f5;
/* rgb */ color: rgb(202, 137, 245);
/* oklch */ color: oklch(73.6% 0.164 310.7);
Tailwind
colors: {
  custom: {
    50: '#dcadf9',
    500: '#ca89f5',
    950: '#000000',
  },
}
SCSS
$custom: #ca89f5;
$custom-light: #dcadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89f5",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 276.111,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.16375,
    "h": 310.7
  },
  "luminance": 0.3704
}

Semantic roles & 50–950 ramp

primary
#CA89F5
secondary
#E2F5D6
accent
#E1055C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89F5

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

Preview Lab → · Contrast checker → · Palette generator →

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