#C052DB#C052DB

#C052DB is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.217 H 319.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C052DB
RGBrgb(192, 82, 219)
HSLhsl(288, 66%, 59%)
HSVhsv(288, 63%, 86%)
CMYKcmyk(12.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(54.40, 63.38, -50.69)
CIE-LCHlch(54.40, 81.16, 321.35°)
OKLaboklab(63.42% 0.1641 -0.1416)
OKLCHoklch(63.42% 0.217 319.2)
XYZxyz(37.5400, 22.3572, 69.3421)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052DB #6DDB52
analogous
#7C52DB #C052DB #DB52B2
triadic
#C052DB #DBC052 #52DBC0
tetradic
#C052DB #DB7C52 #6DDB52 #52B2DB
square
#C052DB #DB7C52 #6DDB52 #52B2DB
split-complementary
#C052DB #B2DB52 #52DB7C
monochromatic
#7D1F94 #A829C6 #C052DB #D285E6 #E5B7F0

Accessibility & contrast

On white

3.84
#C052DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C052DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052DB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052DB#FFFFFF#000000##000000
##C052DB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#C0698F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c052db;
/* rgb */ color: rgb(192, 82, 219);
/* oklch */ color: oklch(63.4% 0.217 319.2);
Tailwind
colors: {
  custom: {
    50: '#d689e7',
    500: '#c052db',
    950: '#000000',
  },
}
SCSS
$custom: #c052db;
$custom-light: #d689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c052db",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 288.175,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63419,
    "c": 0.21675,
    "h": 319.2
  },
  "luminance": 0.22356
}

Semantic roles & 50–950 ramp

primary
#C052DB
secondary
#B4DFAA
accent
#E93F61
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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