#C152D5#C152D5

#C152D5 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.2% C 0.212 H 321.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C152D5
RGBrgb(193, 82, 213)
HSLhsl(291, 61%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(9.4%, 61.5%, 0%, 16.5%)
CIE-LABlab(54.22, 62.49, -47.57)
CIE-LCHlch(54.22, 78.54, 322.72°)
OKLaboklab(63.21% 0.1652 -0.1325)
OKLCHoklch(63.21% 0.212 321.3)
XYZxyz(37.0185, 22.1780, 65.2688)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152D5 #66D552
analogous
#8052D5 #C152D5 #D552A7
triadic
#C152D5 #D5C152 #52D5C1
tetradic
#C152D5 #D58052 #66D552 #52A7D5
square
#C152D5 #D58052 #66D552 #52A7D5
split-complementary
#C152D5 #A7D552 #52D580
monochromatic
#7B228B #A62EBC #C152D5 #D383E1 #E4B4ED

Accessibility & contrast

On white

3.86
#C152D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C152D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152D5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152D5#FFFFFF#000000##000000
##C152D51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337AD9
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#C3678C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c152d5;
/* rgb */ color: rgb(193, 82, 213);
/* oklch */ color: oklch(63.2% 0.212 321.3);
Tailwind
colors: {
  custom: {
    50: '#d789e2',
    500: '#c152d5',
    950: '#000000',
  },
}
SCSS
$custom: #c152d5;
$custom-light: #d789e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c152d5",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 290.84,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63206,
    "c": 0.21174,
    "h": 321.3
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#C152D5
secondary
#AFDCA7
accent
#E4445C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C152D5

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

Preview Lab → · Contrast checker → · Palette generator →

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