#C152E4#C152E4

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

Color values

HEX#C152E4
RGBrgb(193, 82, 228)
HSLhsl(286, 73%, 61%)
HSVhsv(286, 64%, 89%)
CMYKcmyk(15.4%, 64%, 0%, 10.6%)
CIE-LABlab(55.05, 65.35, -54.73)
CIE-LCHlch(55.05, 85.24, 320.05°)
OKLaboklab(64.08% 0.1652 -0.1534)
OKLCHoklch(64.08% 0.225 317.1)
XYZxyz(39.0112, 22.9750, 75.7634)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152E4 #75E452
analogous
#7852E4 #C152E4 #E452BE
triadic
#C152E4 #E4C152 #52E4C1
tetradic
#C152E4 #E47852 #75E452 #52BEE4
square
#C152E4 #E47852 #75E452 #52BEE4
split-complementary
#C152E4 #BEE452 #52E478
monochromatic
#8119A2 #AC22D7 #C152E4 #D487EC #E7BCF5

Accessibility & contrast

On white

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

On black

5.59
#C152E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152E4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152E4#FFFFFF#000000##000000
##C152E41.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE8
Deuteranopia (green-blind)
#5587E0
Tritanopia (blue-blind)
#C06C94
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c152e4;
/* rgb */ color: rgb(193, 82, 228);
/* oklch */ color: oklch(64.1% 0.225 317.1);
Tailwind
colors: {
  custom: {
    50: '#d78aed',
    500: '#c152e4',
    950: '#000000',
  },
}
SCSS
$custom: #c152e4;
$custom-light: #d78aed;
$custom-dark: #000000;
JSON
{
  "hex": "#c152e4",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 285.616,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.22545,
    "h": 317.1
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#C152E4
secondary
#BBE5AD
accent
#D51040
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152E4

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

Preview Lab → · Contrast checker → · Palette generator →

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