#CA51F0#CA51F0

#CA51F0 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.241 H 317.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CA51F0
RGBrgb(202, 81, 240)
HSLhsl(286, 84%, 63%)
HSVhsv(286, 66%, 94%)
CMYKcmyk(15.8%, 66.3%, 0%, 5.9%)
CIE-LABlab(56.82, 70.05, -58.56)
CIE-LCHlch(56.82, 91.30, 320.11°)
OKLaboklab(65.82% 0.1765 -0.1643)
OKLCHoklch(65.82% 0.241 317)
XYZxyz(43.0254, 24.7344, 84.9290)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51F0 #77F051
analogous
#7A51F0 #CA51F0 #F051C7
triadic
#CA51F0 #F0CA51 #51F0CA
tetradic
#CA51F0 #F07A51 #77F051 #51C7F0
square
#CA51F0 #F07A51 #77F051 #51C7F0
split-complementary
#CA51F0 #C7F051 #51F07A
monochromatic
#8F10B7 #B919EB #CA51F0 #DB89F5 #ECC2FA

Accessibility & contrast

On white

3.53
#CA51F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CA51F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51F0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51F0#FFFFFF#000000##000000
##CA51F01.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#C86F9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca51f0;
/* rgb */ color: rgb(202, 81, 240);
/* oklch */ color: oklch(65.8% 0.241 317.0);
Tailwind
colors: {
  custom: {
    50: '#de8af6',
    500: '#ca51f0',
    950: '#000000',
  },
}
SCSS
$custom: #ca51f0;
$custom-light: #de8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51f0",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 285.66,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.24116,
    "h": 317
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

primary
#CA51F0
secondary
#BFEBB2
accent
#E10539
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA51F0

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

Preview Lab → · Contrast checker → · Palette generator →

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