#CA5FCE#CA5FCE

#CA5FCE is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.191 H 326.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CA5FCE
RGBrgb(202, 95, 206)
HSLhsl(298, 53%, 59%)
HSVhsv(298, 54%, 81%)
CMYKcmyk(1.9%, 53.9%, 0%, 19.2%)
CIE-LABlab(57.27, 57.59, -38.69)
CIE-LCHlch(57.27, 69.38, 326.11°)
OKLaboklab(65.57% 0.1587 -0.1066)
OKLCHoklch(65.57% 0.191 326.1)
XYZxyz(39.5891, 25.1994, 61.1593)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FCE #63CE5F
analogous
#935FCE #CA5FCE #CE5F9B
triadic
#CA5FCE #CECA5F #5FCECA
tetradic
#CA5FCE #CE935F #63CE5F #5F9BCE
square
#CA5FCE #CE935F #63CE5F #5F9BCE
split-complementary
#CA5FCE #9BCE5F #5FCE93
monochromatic
#852A89 #B338B8 #CA5FCE #DA8EDC #E9BDEB

Accessibility & contrast

On white

3.48
#CA5FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CA5FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FCE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FCE#FFFFFF#000000##000000
##CA5FCE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#CF6C8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fce;
/* rgb */ color: rgb(202, 95, 206);
/* oklch */ color: oklch(65.6% 0.191 326.1);
Tailwind
colors: {
  custom: {
    50: '#dd91dd',
    500: '#ca5fce',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fce;
$custom-light: #dd91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fce",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 297.838,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65574,
    "c": 0.19118,
    "h": 326.1
  },
  "luminance": 0.25197
}

Semantic roles & 50–950 ramp

primary
#CA5FCE
secondary
#B0DAAF
accent
#DD4B51
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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