#CA89FD#CA89FD

#CA89FD is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.0% C 0.173 H 308.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CA89FD
RGBrgb(202, 137, 253)
HSLhsl(274, 97%, 76%)
HSVhsv(274, 46%, 99%)
CMYKcmyk(20.2%, 45.8%, 0%, 0.8%)
CIE-LABlab(67.68, 45.69, -48.47)
CIE-LCHlch(67.68, 66.61, 313.30°)
OKLaboklab(74.01% 0.1079 -0.1352)
OKLCHoklch(74.01% 0.173 308.6)
XYZxyz(51.0290, 37.5404, 97.4673)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89FD #BCFD89
analogous
#9089FD #CA89FD #FD89F6
triadic
#CA89FD #FDCA89 #89FDCA
tetradic
#CA89FD #FD9089 #BCFD89 #89F6FD
square
#CA89FD #FD9089 #BCFD89 #89F6FD
split-complementary
#CA89FD #F6FD89 #89FD90
monochromatic
#9411FB #AF4DFC #CA89FD #E5C5FE #F1E1FE

Accessibility & contrast

On white

2.47
#CA89FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CA89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89FD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89FD#FFFFFF#000000##000000
##CA89FD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#C39CB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca89fd;
/* rgb */ color: rgb(202, 137, 253);
/* oklch */ color: oklch(74.0% 0.173 308.6);
Tailwind
colors: {
  custom: {
    50: '#dcadfe',
    500: '#ca89fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca89fd;
$custom-light: #dcadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89fd",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 273.621,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74013,
    "c": 0.17297,
    "h": 308.6
  },
  "luminance": 0.3754
}

Semantic roles & 50–950 ramp

primary
#CA89FD
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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