#CA5EF7#CA5EF7

#CA5EF7 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.231 H 314.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CA5EF7
RGBrgb(202, 94, 247)
HSLhsl(282, 91%, 67%)
HSVhsv(282, 62%, 97%)
CMYKcmyk(18.2%, 61.9%, 0%, 3.1%)
CIE-LABlab(59.23, 65.84, -58.59)
CIE-LCHlch(59.23, 88.14, 318.34°)
OKLaboklab(67.69% 0.1619 -0.1645)
OKLCHoklch(67.69% 0.231 314.6)
XYZxyz(45.1456, 27.2788, 90.8649)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EF7 #8BF75E
analogous
#7E5EF7 #CA5EF7 #F75ED8
triadic
#CA5EF7 #F7CA5E #5EF7CA
tetradic
#CA5EF7 #F77E5E #8BF75E #5ED8F7
square
#CA5EF7 #F77E5E #8BF75E #5ED8F7
split-complementary
#CA5EF7 #D8F75E #5EF77E
monochromatic
#960AD0 #B724F4 #CA5EF7 #DD98FA #F0D3FD

Accessibility & contrast

On white

3.25
#CA5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CA5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EF7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EF7#FFFFFF#000000##000000
##CA5EF71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2388FC
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#C67AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5ef7;
/* rgb */ color: rgb(202, 94, 247);
/* oklch */ color: oklch(67.7% 0.231 314.6);
Tailwind
colors: {
  custom: {
    50: '#de92fa',
    500: '#ca5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ef7;
$custom-light: #de92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ef7",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 282.353,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67694,
    "c": 0.23082,
    "h": 314.6
  },
  "luminance": 0.27277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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