#CA51F6#CA51F6

#CA51F6 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.247 H 315.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CA51F6
RGBrgb(202, 81, 246)
HSLhsl(284, 90%, 64%)
HSVhsv(284, 67%, 96%)
CMYKcmyk(17.9%, 67.1%, 0%, 3.5%)
CIE-LABlab(57.17, 71.20, -61.33)
CIE-LCHlch(57.17, 93.98, 319.26°)
OKLaboklab(66.19% 0.1762 -0.1724)
OKLCHoklch(66.19% 0.247 315.6)
XYZxyz(43.9315, 25.0968, 89.7009)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51F6 #7DF651
analogous
#7851F6 #CA51F6 #F651D0
triadic
#CA51F6 #F6CA51 #51F6CA
tetradic
#CA51F6 #F67851 #7DF651 #51D0F6
square
#CA51F6 #F67851 #7DF651 #51D0F6
split-complementary
#CA51F6 #D0F651 #51F678
monochromatic
#910AC3 #B817F3 #CA51F6 #DC8BF9 #EDC5FC

Accessibility & contrast

On white

3.49
#CA51F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CA51F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51F6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51F6#FFFFFF#000000##000000
##CA51F61.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#4F8DF2
Tritanopia (blue-blind)
#C7719E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca51f6;
/* rgb */ color: rgb(202, 81, 246);
/* oklch */ color: oklch(66.2% 0.247 315.6);
Tailwind
colors: {
  custom: {
    50: '#de8afa',
    500: '#ca51f6',
    950: '#000000',
  },
}
SCSS
$custom: #ca51f6;
$custom-light: #de8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51f6",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 284,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66191,
    "c": 0.24653,
    "h": 315.6
  },
  "luminance": 0.25095
}

Semantic roles & 50–950 ramp

primary
#CA51F6
secondary
#C4EEB5
accent
#E6003D
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CA51F6

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

Preview Lab → · Contrast checker → · Palette generator →

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