#CA5CF6#CA5CF6

#CA5CF6 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.233 H 314.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CA5CF6
RGBrgb(202, 92, 246)
HSLhsl(283, 90%, 66%)
HSVhsv(283, 63%, 96%)
CMYKcmyk(17.9%, 62.6%, 0%, 3.5%)
CIE-LABlab(58.85, 66.54, -58.64)
CIE-LCHlch(58.85, 88.69, 318.61°)
OKLaboklab(67.4% 0.1642 -0.1646)
OKLCHoklch(67.4% 0.233 314.9)
XYZxyz(44.8161, 26.8662, 89.9958)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CF6 #88F65C
analogous
#7D5CF6 #CA5CF6 #F65CD5
triadic
#CA5CF6 #F6CA5C #5CF6CA
tetradic
#CA5CF6 #F67D5C #88F65C #5CD5F6
square
#CA5CF6 #F67D5C #88F65C #5CD5F6
split-complementary
#CA5CF6 #D5F65C #5CF67D
monochromatic
#950BCC #B722F3 #CA5CF6 #DD96F9 #F0D0FC

Accessibility & contrast

On white

3.30
#CA5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CA5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CF6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CF6#FFFFFF#000000##000000
##CA5CF61.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FB
Deuteranopia (green-blind)
#5991F2
Tritanopia (blue-blind)
#C778A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5cf6;
/* rgb */ color: rgb(202, 92, 246);
/* oklch */ color: oklch(67.4% 0.233 314.9);
Tailwind
colors: {
  custom: {
    50: '#de90fa',
    500: '#ca5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cf6;
$custom-light: #de90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cf6",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 282.857,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.674,
    "c": 0.23255,
    "h": 314.9
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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