#C052F5#C052F5

#C052F5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.241 H 312.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C052F5
RGBrgb(192, 82, 245)
HSLhsl(280, 89%, 64%)
HSVhsv(280, 67%, 96%)
CMYKcmyk(21.6%, 66.5%, 0%, 3.9%)
CIE-LABlab(55.92, 68.50, -62.85)
CIE-LCHlch(55.92, 92.97, 317.46°)
OKLaboklab(65% 0.1632 -0.1772)
OKLCHoklch(65% 0.241 312.6)
XYZxyz(41.2340, 23.8348, 88.7970)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052F5 #87F552
analogous
#6F52F5 #C052F5 #F552D8
triadic
#C052F5 #F5C052 #52F5C0
tetradic
#C052F5 #F56F52 #87F552 #52D8F5
square
#C052F5 #F56F52 #87F552 #52D8F5
split-complementary
#C052F5 #D8F552 #52F56F
monochromatic
#860BC1 #AB18F2 #C052F5 #D58CF8 #EAC6FC

Accessibility & contrast

On white

3.64
#C052F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C052F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052F5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052F5#FFFFFF#000000##000000
##C052F51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#4488F1
Tritanopia (blue-blind)
#BA739D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c052f5;
/* rgb */ color: rgb(192, 82, 245);
/* oklch */ color: oklch(65.0% 0.241 312.6);
Tailwind
colors: {
  custom: {
    50: '#d78af9',
    500: '#c052f5',
    950: '#000000',
  },
}
SCSS
$custom: #c052f5;
$custom-light: #d78af9;
$custom-dark: #000000;
JSON
{
  "hex": "#c052f5",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 280.491,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65,
    "c": 0.24091,
    "h": 312.6
  },
  "luminance": 0.23834
}

Semantic roles & 50–950 ramp

primary
#C052F5
secondary
#C7EEB5
accent
#E6004B
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C052F5

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

Preview Lab → · Contrast checker → · Palette generator →

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