#CA5FCF#CA5FCF

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

Color values

HEX#CA5FCF
RGBrgb(202, 95, 207)
HSLhsl(297, 54%, 59%)
HSVhsv(297, 54%, 81%)
CMYKcmyk(2.4%, 54.1%, 0%, 18.8%)
CIE-LABlab(57.32, 57.77, -39.19)
CIE-LCHlch(57.32, 69.81, 325.85°)
OKLaboklab(65.62% 0.1588 -0.1081)
OKLCHoklch(65.62% 0.192 325.8)
XYZxyz(39.7110, 25.2482, 61.8011)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FCF #64CF5F
analogous
#925FCF #CA5FCF #CF5F9C
triadic
#CA5FCF #CFCA5F #5FCFCA
tetradic
#CA5FCF #CF925F #64CF5F #5F9CCF
square
#CA5FCF #CF925F #64CF5F #5F9CCF
split-complementary
#CA5FCF #9CCF5F #5FCF92
monochromatic
#86298A #B338B9 #CA5FCF #DA8EDD #E9BDEB

Accessibility & contrast

On white

3.47
#CA5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CA5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FCF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FCF#FFFFFF#000000##000000
##CA5FCF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#748ECC
Tritanopia (blue-blind)
#CF6D8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5fcf;
/* rgb */ color: rgb(202, 95, 207);
/* oklch */ color: oklch(65.6% 0.192 325.8);
Tailwind
colors: {
  custom: {
    50: '#dd91de',
    500: '#ca5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fcf;
$custom-light: #dd91de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fcf",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 297.321,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.19208,
    "h": 325.8
  },
  "luminance": 0.25246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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