#C152E1#C152E1

#C152E1 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.223 H 317.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C152E1
RGBrgb(193, 82, 225)
HSLhsl(287, 70%, 60%)
HSVhsv(287, 64%, 88%)
CMYKcmyk(14.2%, 63.6%, 0%, 11.8%)
CIE-LABlab(54.88, 64.77, -53.32)
CIE-LCHlch(54.88, 83.89, 320.54°)
OKLaboklab(63.9% 0.1653 -0.1492)
OKLCHoklch(63.9% 0.223 317.9)
XYZxyz(38.5983, 22.8099, 73.5891)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152E1 #72E152
analogous
#7952E1 #C152E1 #E152BA
triadic
#C152E1 #E1C152 #52E1C1
tetradic
#C152E1 #E17952 #72E152 #52BAE1
square
#C152E1 #E17952 #72E152 #52BAE1
split-complementary
#C152E1 #BAE152 #52E179
monochromatic
#801B9D #AB24D1 #C152E1 #D486EA #E6BAF3

Accessibility & contrast

On white

3.78
#C152E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C152E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152E1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152E1#FFFFFF#000000##000000
##C152E11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#227CE5
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#C06B93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c152e1;
/* rgb */ color: rgb(193, 82, 225);
/* oklch */ color: oklch(63.9% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#d78aeb',
    500: '#c152e1',
    950: '#000000',
  },
}
SCSS
$custom: #c152e1;
$custom-light: #d78aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c152e1",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 286.573,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63897,
    "c": 0.22269,
    "h": 317.9
  },
  "luminance": 0.22808
}

Semantic roles & 50–950 ramp

primary
#C152E1
secondary
#B8E3AC
accent
#D2133E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152E1

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

Preview Lab → · Contrast checker → · Palette generator →

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