#CA8FE5#CA8FE5

#CA8FE5 is a light, vivid purple. Relative luminance 0.379; OKLCH L 73.8% C 0.135 H 314.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CA8FE5
RGBrgb(202, 143, 229)
HSLhsl(281, 62%, 73%)
HSVhsv(281, 38%, 90%)
CMYKcmyk(11.8%, 37.6%, 0%, 10.2%)
CIE-LABlab(67.92, 37.34, -34.94)
CIE-LCHlch(67.92, 51.14, 316.91°)
OKLaboklab(73.84% 0.0953 -0.0962)
OKLCHoklch(73.84% 0.135 314.7)
XYZxyz(48.3202, 37.8597, 78.8757)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FE5 #AAE58F
analogous
#9F8FE5 #CA8FE5 #E58FD5
triadic
#CA8FE5 #E5CA8F #8FE5CA
tetradic
#CA8FE5 #E59F8F #AAE58F #8FD5E5
square
#CA8FE5 #E59F8F #AAE58F #8FD5E5
split-complementary
#CA8FE5 #D5E58F #8FE59F
monochromatic
#9A2FCB #B25DD9 #CA8FE5 #E2C1F1 #F3E6F9

Accessibility & contrast

On white

2.45
#CA8FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CA8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FE5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FE5#FFFFFF#000000##000000
##CA8FE51.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E8
Deuteranopia (green-blind)
#8FA7E2
Tritanopia (blue-blind)
#C89AAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8fe5;
/* rgb */ color: rgb(202, 143, 229);
/* oklch */ color: oklch(73.8% 0.135 314.7);
Tailwind
colors: {
  custom: {
    50: '#dbb0ed',
    500: '#ca8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fe5;
$custom-light: #dbb0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fe5",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 281.163,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73843,
    "c": 0.13539,
    "h": 314.7
  },
  "luminance": 0.37859
}

Semantic roles & 50–950 ramp

primary
#CA8FE5
secondary
#E1F1DA
accent
#CA1B52
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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