#C152E5#C152E5

#C152E5 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.1% C 0.226 H 316.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C152E5
RGBrgb(193, 82, 229)
HSLhsl(285, 74%, 61%)
HSVhsv(285, 64%, 90%)
CMYKcmyk(15.7%, 64.2%, 0%, 10.2%)
CIE-LABlab(55.10, 65.54, -55.20)
CIE-LCHlch(55.10, 85.69, 319.89°)
OKLaboklab(64.13% 0.1652 -0.1548)
OKLCHoklch(64.13% 0.226 316.9)
XYZxyz(39.1504, 23.0307, 76.4966)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152E5 #76E552
analogous
#7752E5 #C152E5 #E552BF
triadic
#C152E5 #E5C152 #52E5C1
tetradic
#C152E5 #E57752 #76E552 #52BFE5
square
#C152E5 #E57752 #76E552 #52BFE5
split-complementary
#C152E5 #BFE552 #52E577
monochromatic
#8219A4 #AC21D9 #C152E5 #D487ED #E7BCF5

Accessibility & contrast

On white

3.75
#C152E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#C152E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152E5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152E5#FFFFFF#000000##000000
##C152E51.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#197DE9
Deuteranopia (green-blind)
#5587E1
Tritanopia (blue-blind)
#BF6D95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c152e5;
/* rgb */ color: rgb(193, 82, 229);
/* oklch */ color: oklch(64.1% 0.226 316.9);
Tailwind
colors: {
  custom: {
    50: '#d78aee',
    500: '#c152e5',
    950: '#000000',
  },
}
SCSS
$custom: #c152e5;
$custom-light: #d78aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c152e5",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 285.306,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64135,
    "c": 0.22637,
    "h": 316.9
  },
  "luminance": 0.23029
}

Semantic roles & 50–950 ramp

primary
#C152E5
secondary
#BBE5AE
accent
#D61040
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152E5

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

Preview Lab → · Contrast checker → · Palette generator →

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