#CA5BF7#CA5BF7

#CA5BF7 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.235 H 314.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CA5BF7
RGBrgb(202, 91, 247)
HSLhsl(283, 91%, 66%)
HSVhsv(283, 63%, 97%)
CMYKcmyk(18.2%, 63.2%, 0%, 3.1%)
CIE-LABlab(58.75, 67.18, -59.36)
CIE-LCHlch(58.75, 89.65, 318.53°)
OKLaboklab(67.35% 0.1654 -0.1667)
OKLCHoklch(67.35% 0.235 314.8)
XYZxyz(44.8840, 26.7556, 90.7777)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF7 #88F75B
analogous
#7C5BF7 #CA5BF7 #F75BD6
triadic
#CA5BF7 #F7CA5B #5BF7CA
tetradic
#CA5BF7 #F77C5B #88F75B #5BD6F7
square
#CA5BF7 #F77C5B #88F75B #5BD6F7
split-complementary
#CA5BF7 #D6F75B #5BF77C
monochromatic
#950ACE #B721F4 #CA5BF7 #DD95FA #F0D0FD

Accessibility & contrast

On white

3.31
#CA5BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CA5BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF7#FFFFFF#000000##000000
##CA5BF71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1987FC
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#C678A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5bf7;
/* rgb */ color: rgb(202, 91, 247);
/* oklch */ color: oklch(67.3% 0.235 314.8);
Tailwind
colors: {
  custom: {
    50: '#de90fa',
    500: '#ca5bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf7;
$custom-light: #de90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf7",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 247
  },
  "hsl": {
    "h": 282.692,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.23482,
    "h": 314.8
  },
  "luminance": 0.26754
}

Semantic roles & 50–950 ramp

primary
#CA5BF7
secondary
#CCF0BD
accent
#E60042
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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