#CA89FE#CA89FE

#CA89FE is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.1% C 0.174 H 308.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CA89FE
RGBrgb(202, 137, 254)
HSLhsl(273, 98%, 77%)
HSVhsv(273, 46%, 100%)
CMYKcmyk(20.5%, 46.1%, 0%, 0.4%)
CIE-LABlab(67.73, 45.90, -48.95)
CIE-LCHlch(67.73, 67.10, 313.16°)
OKLaboklab(74.06% 0.108 -0.1366)
OKLCHoklch(74.06% 0.174 308.3)
XYZxyz(51.1887, 37.6043, 98.3084)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89FE #BDFE89
analogous
#9089FE #CA89FE #FE89F8
triadic
#CA89FE #FECA89 #89FECA
tetradic
#CA89FE #FE9089 #BDFE89 #89F8FE
square
#CA89FE #FE9089 #BDFE89 #89F8FE
split-complementary
#CA89FE #F8FE89 #89FE90
monochromatic
#9310FD #AF4CFD #CA89FE #E5C6FF #F1E1FF

Accessibility & contrast

On white

2.46
#CA89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CA89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89FE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89FE#FFFFFF#000000##000000
##CA89FE1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#C39CB8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca89fe;
/* rgb */ color: rgb(202, 137, 254);
/* oklch */ color: oklch(74.1% 0.174 308.3);
Tailwind
colors: {
  custom: {
    50: '#dcadff',
    500: '#ca89fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca89fe;
$custom-light: #dcadff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89fe",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 273.333,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.17412,
    "h": 308.3
  },
  "luminance": 0.37604
}

Semantic roles & 50–950 ramp

primary
#CA89FE
secondary
#E4F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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