#CA5FF2#CA5FF2

#CA5FF2 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.5% C 0.225 H 315.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CA5FF2
RGBrgb(202, 95, 242)
HSLhsl(284, 85%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16.5%, 60.7%, 0%, 5.1%)
CIE-LABlab(59.12, 64.40, -56.00)
CIE-LCHlch(59.12, 85.34, 318.99°)
OKLaboklab(67.52% 0.1608 -0.1569)
OKLCHoklch(67.52% 0.225 315.7)
XYZxyz(44.4739, 27.1533, 86.8856)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FF2 #87F25F
analogous
#805FF2 #CA5FF2 #F25FD1
triadic
#CA5FF2 #F2CA5F #5FF2CA
tetradic
#CA5FF2 #F2805F #87F25F #5FD1F2
square
#CA5FF2 #F2805F #87F25F #5FD1F2
split-complementary
#CA5FF2 #D1F25F #5FF280
monochromatic
#9510C6 #B726ED #CA5FF2 #DD98F7 #EFD0FB

Accessibility & contrast

On white

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

On black

6.43
#CA5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FF2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FF2#FFFFFF#000000##000000
##CA5FF21.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#C779A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ff2;
/* rgb */ color: rgb(202, 95, 242);
/* oklch */ color: oklch(67.5% 0.225 315.7);
Tailwind
colors: {
  custom: {
    50: '#dd92f7',
    500: '#ca5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ff2;
$custom-light: #dd92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ff2",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 283.673,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6752,
    "c": 0.22468,
    "h": 315.7
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#CA5FF2
secondary
#CBEFBE
accent
#E10440
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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