#CA5DF7#CA5DF7

#CA5DF7 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.232 H 314.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CA5DF7
RGBrgb(202, 93, 247)
HSLhsl(282, 91%, 67%)
HSVhsv(282, 62%, 97%)
CMYKcmyk(18.2%, 62.3%, 0%, 3.1%)
CIE-LABlab(59.07, 66.29, -58.85)
CIE-LCHlch(59.07, 88.64, 318.40°)
OKLaboklab(67.58% 0.1631 -0.1652)
OKLCHoklch(67.58% 0.232 314.6)
XYZxyz(45.0572, 27.1021, 90.8354)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF7 #8AF75D
analogous
#7D5DF7 #CA5DF7 #F75DD7
triadic
#CA5DF7 #F7CA5D #5DF7CA
tetradic
#CA5DF7 #F77D5D #8AF75D #5DD7F7
square
#CA5DF7 #F77D5D #8AF75D #5DD7F7
split-complementary
#CA5DF7 #D7F75D #5DF77D
monochromatic
#960ACF #B723F4 #CA5DF7 #DD97FA #F0D2FD

Accessibility & contrast

On white

3.27
#CA5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CA5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DF7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DF7#FFFFFF#000000##000000
##CA5DF71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2088FC
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#C679A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5df7;
/* rgb */ color: rgb(202, 93, 247);
/* oklch */ color: oklch(67.6% 0.232 314.6);
Tailwind
colors: {
  custom: {
    50: '#de91fa',
    500: '#ca5df7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df7;
$custom-light: #de91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df7",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 282.468,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67577,
    "c": 0.23217,
    "h": 314.6
  },
  "luminance": 0.27101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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