#CA5CF7#CA5CF7

#CA5CF7 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.234 H 314.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CA5CF7
RGBrgb(202, 92, 247)
HSLhsl(283, 91%, 66%)
HSVhsv(283, 63%, 97%)
CMYKcmyk(18.2%, 62.8%, 0%, 3.1%)
CIE-LABlab(58.91, 66.73, -59.11)
CIE-LCHlch(58.91, 89.15, 318.47°)
OKLaboklab(67.46% 0.1642 -0.166)
OKLCHoklch(67.46% 0.234 314.7)
XYZxyz(44.9700, 26.9277, 90.8063)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CF7 #89F75C
analogous
#7D5CF7 #CA5CF7 #F75CD6
triadic
#CA5CF7 #F7CA5C #5CF7CA
tetradic
#CA5CF7 #F77D5C #89F75C #5CD6F7
square
#CA5CF7 #F77D5C #89F75C #5CD6F7
split-complementary
#CA5CF7 #D6F75C #5CF77D
monochromatic
#950ACE #B722F4 #CA5CF7 #DD96FA #F0D1FD

Accessibility & contrast

On white

3.29
#CA5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CA5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CF7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CF7#FFFFFF#000000##000000
##CA5CF71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FC
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#C679A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5cf7;
/* rgb */ color: rgb(202, 92, 247);
/* oklch */ color: oklch(67.5% 0.234 314.7);
Tailwind
colors: {
  custom: {
    50: '#de91fa',
    500: '#ca5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cf7;
$custom-light: #de91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cf7",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 282.581,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.2335,
    "h": 314.7
  },
  "luminance": 0.26926
}

Semantic roles & 50–950 ramp

primary
#CA5CF7
secondary
#CDF1BE
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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