#C152DD#C152DD

#C152DD is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.219 H 319.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C152DD
RGBrgb(193, 82, 221)
HSLhsl(288, 67%, 59%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(12.7%, 62.9%, 0%, 13.3%)
CIE-LABlab(54.65, 64.00, -51.41)
CIE-LCHlch(54.65, 82.09, 321.22°)
OKLaboklab(63.66% 0.1653 -0.1437)
OKLCHoklch(63.66% 0.219 319)
XYZxyz(38.0590, 22.5942, 70.7490)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152DD #6EDD52
analogous
#7C52DD #C152DD #DD52B3
triadic
#C152DD #DDC152 #52DDC1
tetradic
#C152DD #DD7C52 #6EDD52 #52B3DD
square
#C152DD #DD7C52 #6EDD52 #52B3DD
split-complementary
#C152DD #B3DD52 #52DD7C
monochromatic
#7F1E97 #A928CA #C152DD #D385E7 #E6B8F1

Accessibility & contrast

On white

3.81
#C152DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C152DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152DD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152DD#FFFFFF#000000##000000
##C152DD1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#C16A90
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c152dd;
/* rgb */ color: rgb(193, 82, 221);
/* oklch */ color: oklch(63.7% 0.219 319.0);
Tailwind
colors: {
  custom: {
    50: '#d789e8',
    500: '#c152dd',
    950: '#000000',
  },
}
SCSS
$custom: #c152dd;
$custom-light: #d789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c152dd",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 287.914,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63663,
    "c": 0.21901,
    "h": 319
  },
  "luminance": 0.22593
}

Semantic roles & 50–950 ramp

primary
#C152DD
secondary
#B5E0AA
accent
#EA3E60
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152DD

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

Preview Lab → · Contrast checker → · Palette generator →

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