#C52EFF#C52EFF

#C52EFF is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 63.3% C 0.286 H 313.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C52EFF
RGBrgb(197, 46, 255)
HSLhsl(283, 100%, 59%)
HSVhsv(283, 82%, 100%)
CMYKcmyk(22.7%, 82%, 0%, 0%)
CIE-LABlab(53.00, 83.58, -73.10)
CIE-LCHlch(53.00, 111.04, 318.82°)
OKLaboklab(63.28% 0.198 -0.2069)
OKLCHoklch(63.28% 0.286 313.7)
XYZxyz(42.0498, 21.0457, 96.4355)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52EFF #68FF2E
analogous
#5D2EFF #C52EFF #FF2ED1
triadic
#C52EFF #FFC52E #2EFFC5
tetradic
#C52EFF #FF5D2E #68FF2E #2ED1FF
square
#C52EFF #FF5D2E #68FF2E #2ED1FF
split-complementary
#C52EFF #D1FF2E #2EFF5D
monochromatic
#8100B3 #AD00F0 #C52EFF #D66BFF #E7A8FF

Accessibility & contrast

On white

4.03
#C52EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C52EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C52EFF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52EFF#FFFFFF#000000##000000
##C52EFF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0282FB
Tritanopia (blue-blind)
#BF659A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c52eff;
/* rgb */ color: rgb(197, 46, 255);
/* oklch */ color: oklch(63.3% 0.286 313.7);
Tailwind
colors: {
  custom: {
    50: '#dc7bff',
    500: '#c52eff',
    950: '#000000',
  },
}
SCSS
$custom: #c52eff;
$custom-light: #dc7bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c52eff",
  "rgb": {
    "r": 197,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 283.349,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.28638,
    "h": 313.7
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#C52EFF
secondary
#B2ED9B
accent
#FF2964
background
#FEF8FF
surface
#FCEFFF
border
#D5CAD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #C52EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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