#CA89FA#CA89FA

#CA89FA is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.9% C 0.170 H 309.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CA89FA
RGBrgb(202, 137, 250)
HSLhsl(275, 92%, 76%)
HSVhsv(275, 45%, 98%)
CMYKcmyk(19.2%, 45.2%, 0%, 2%)
CIE-LABlab(67.54, 45.03, -47.06)
CIE-LCHlch(67.54, 65.13, 313.74°)
OKLaboklab(73.86% 0.1075 -0.1311)
OKLCHoklch(73.86% 0.17 309.3)
XYZxyz(50.5549, 37.3507, 94.9701)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89FA #B9FA89
analogous
#9189FA #CA89FA #FA89F2
triadic
#CA89FA #FACA89 #89FACA
tetradic
#CA89FA #FA9189 #B9FA89 #89F2FA
square
#CA89FA #FA9189 #B9FA89 #89F2FA
split-complementary
#CA89FA #F2FA89 #89FA91
monochromatic
#9514F5 #B04EF8 #CA89FA #E4C4FC #F2E2FE

Accessibility & contrast

On white

2.48
#CA89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CA89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89FA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89FA#FFFFFF#000000##000000
##CA89FA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#C49BB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca89fa;
/* rgb */ color: rgb(202, 137, 250);
/* oklch */ color: oklch(73.9% 0.170 309.3);
Tailwind
colors: {
  custom: {
    50: '#dcadfc',
    500: '#ca89fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca89fa;
$custom-light: #dcadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89fa",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 274.513,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.16951,
    "h": 309.3
  },
  "luminance": 0.3735
}

Semantic roles & 50–950 ramp

primary
#CA89FA
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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