#CA89F7#CA89F7

#CA89F7 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.7% C 0.166 H 310.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CA89F7
RGBrgb(202, 137, 247)
HSLhsl(275, 87%, 75%)
HSVhsv(275, 45%, 97%)
CMYKcmyk(18.2%, 44.5%, 0%, 3.1%)
CIE-LABlab(67.40, 44.38, -45.63)
CIE-LCHlch(67.40, 63.66, 314.20°)
OKLaboklab(73.71% 0.107 -0.127)
OKLCHoklch(73.71% 0.166 310.1)
XYZxyz(50.0882, 37.1641, 92.5124)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89F7 #B6F789
analogous
#9389F7 #CA89F7 #F789ED
triadic
#CA89F7 #F7CA89 #89F7CA
tetradic
#CA89F7 #F79389 #B6F789 #89EDF7
square
#CA89F7 #F79389 #B6F789 #89EDF7
split-complementary
#CA89F7 #EDF789 #89F793
monochromatic
#9716EF #B050F3 #CA89F7 #E4C2FB #F2E2FD

Accessibility & contrast

On white

2.49
#CA89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#CA89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89F7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89F7#FFFFFF#000000##000000
##CA89F71.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#C59AB4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca89f7;
/* rgb */ color: rgb(202, 137, 247);
/* oklch */ color: oklch(73.7% 0.166 310.1);
Tailwind
colors: {
  custom: {
    50: '#dcadfa',
    500: '#ca89f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca89f7;
$custom-light: #dcadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89f7",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 275.455,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73712,
    "c": 0.16606,
    "h": 310.1
  },
  "luminance": 0.37163
}

Semantic roles & 50–950 ramp

primary
#CA89F7
secondary
#E3F5D6
accent
#E4025E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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