#CA89F3#CA89F3

#CA89F3 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.5% C 0.161 H 311.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CA89F3
RGBrgb(202, 137, 243)
HSLhsl(277, 82%, 75%)
HSVhsv(277, 44%, 95%)
CMYKcmyk(16.9%, 43.6%, 0%, 4.7%)
CIE-LABlab(67.22, 43.52, -43.73)
CIE-LCHlch(67.22, 61.70, 314.86°)
OKLaboklab(73.52% 0.1064 -0.1215)
OKLCHoklch(73.52% 0.161 311.2)
XYZxyz(49.4776, 36.9198, 89.2964)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89F3 #B2F389
analogous
#9589F3 #CA89F3 #F389E7
triadic
#CA89F3 #F3CA89 #89F3CA
tetradic
#CA89F3 #F39589 #B2F389 #89E7F3
square
#CA89F3 #F39589 #B2F389 #89E7F3
split-complementary
#CA89F3 #E7F389 #89F395
monochromatic
#981AE8 #B151ED #CA89F3 #E3C1F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.38
#CA89F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89F3
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89F3#FFFFFF#000000##000000
##CA89F31.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F7
Deuteranopia (green-blind)
#83A5F0
Tritanopia (blue-blind)
#C699B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca89f3;
/* rgb */ color: rgb(202, 137, 243);
/* oklch */ color: oklch(73.5% 0.161 311.2);
Tailwind
colors: {
  custom: {
    50: '#dcadf7',
    500: '#ca89f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca89f3;
$custom-light: #dcadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89f3",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 276.792,
    "s": 81.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73515,
    "c": 0.16147,
    "h": 311.2
  },
  "luminance": 0.36919
}

Semantic roles & 50–950 ramp

primary
#CA89F3
secondary
#E2F4D7
accent
#DE085A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89F3

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

Preview Lab → · Contrast checker → · Palette generator →

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