#CA8FE2#CA8FE2

#CA8FE2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.7% C 0.132 H 315.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CA8FE2
RGBrgb(202, 143, 226)
HSLhsl(283, 59%, 72%)
HSVhsv(283, 37%, 89%)
CMYKcmyk(10.6%, 36.7%, 0%, 11.4%)
CIE-LABlab(67.79, 36.73, -33.47)
CIE-LCHlch(67.79, 49.69, 317.65°)
OKLaboklab(73.71% 0.0946 -0.092)
OKLCHoklch(73.71% 0.132 315.8)
XYZxyz(47.9050, 37.6936, 76.6888)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FE2 #A7E28F
analogous
#A18FE2 #CA8FE2 #E28FD0
triadic
#CA8FE2 #E2CA8F #8FE2CA
tetradic
#CA8FE2 #E2A18F #A7E28F #8FD0E2
square
#CA8FE2 #E2A18F #A7E28F #8FD0E2
split-complementary
#CA8FE2 #D0E28F #8FE2A1
monochromatic
#9A33C4 #B35ED5 #CA8FE2 #E1C0EF #F3E7F9

Accessibility & contrast

On white

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

On black

8.54
#CA8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FE2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FE2#FFFFFF#000000##000000
##CA8FE21.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E5
Deuteranopia (green-blind)
#90A7E0
Tritanopia (blue-blind)
#C99AAE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8fe2;
/* rgb */ color: rgb(202, 143, 226);
/* oklch */ color: oklch(73.7% 0.132 315.8);
Tailwind
colors: {
  custom: {
    50: '#dbb0eb',
    500: '#ca8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fe2;
$custom-light: #dbb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fe2",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 282.651,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.13197,
    "h": 315.8
  },
  "luminance": 0.37692
}

Semantic roles & 50–950 ramp

primary
#CA8FE2
secondary
#E1F0DB
accent
#C61F4F
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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