#CA89F2#CA89F2

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

Color values

HEX#CA89F2
RGBrgb(202, 137, 242)
HSLhsl(277, 80%, 74%)
HSVhsv(277, 43%, 95%)
CMYKcmyk(16.5%, 43.4%, 0%, 5.1%)
CIE-LABlab(67.17, 43.31, -43.25)
CIE-LCHlch(67.17, 61.21, 315.04°)
OKLaboklab(73.47% 0.1062 -0.1201)
OKLCHoklch(73.47% 0.16 311.5)
XYZxyz(49.3270, 36.8596, 88.5033)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89F2 #B1F289
analogous
#9689F2 #CA89F2 #F289E6
triadic
#CA89F2 #F2CA89 #89F2CA
tetradic
#CA89F2 #F29689 #B1F289 #89E6F2
square
#CA89F2 #F29689 #B1F289 #89E6F2
split-complementary
#CA89F2 #E6F289 #89F296
monochromatic
#981BE6 #B152EC #CA89F2 #E3C0F8 #F3E3FC

Accessibility & contrast

On white

2.51
#CA89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CA89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89F2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89F2#FFFFFF#000000##000000
##CA89F21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#C699B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca89f2;
/* rgb */ color: rgb(202, 137, 242);
/* oklch */ color: oklch(73.5% 0.160 311.5);
Tailwind
colors: {
  custom: {
    50: '#dcadf7',
    500: '#ca89f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca89f2;
$custom-light: #dcadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89f2",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 277.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73466,
    "c": 0.16032,
    "h": 311.5
  },
  "luminance": 0.36859
}

Semantic roles & 50–950 ramp

primary
#CA89F2
secondary
#E2F4D7
accent
#DC095A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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