#C152E6#C152E6

#C152E6 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.227 H 316.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C152E6
RGBrgb(193, 82, 230)
HSLhsl(285, 75%, 61%)
HSVhsv(285, 64%, 90%)
CMYKcmyk(16.1%, 64.3%, 0%, 9.8%)
CIE-LABlab(55.16, 65.73, -55.67)
CIE-LCHlch(55.16, 86.14, 319.74°)
OKLaboklab(64.2% 0.1652 -0.1561)
OKLCHoklch(64.2% 0.227 316.6)
XYZxyz(39.2904, 23.0867, 77.2341)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152E6 #77E652
analogous
#7752E6 #C152E6 #E652C1
triadic
#C152E6 #E6C152 #52E6C1
tetradic
#C152E6 #E67752 #77E652 #52C1E6
square
#C152E6 #E67752 #77E652 #52C1E6
split-complementary
#C152E6 #C1E652 #52E677
monochromatic
#8218A6 #AC20DB #C152E6 #D487EE #E7BDF5

Accessibility & contrast

On white

3.74
#C152E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C152E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152E6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152E6#FFFFFF#000000##000000
##C152E61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#167DEA
Deuteranopia (green-blind)
#5487E2
Tritanopia (blue-blind)
#BF6D95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c152e6;
/* rgb */ color: rgb(193, 82, 230);
/* oklch */ color: oklch(64.2% 0.227 316.6);
Tailwind
colors: {
  custom: {
    50: '#d78aef',
    500: '#c152e6',
    950: '#000000',
  },
}
SCSS
$custom: #c152e6;
$custom-light: #d78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c152e6",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 285,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.22729,
    "h": 316.6
  },
  "luminance": 0.23085
}

Semantic roles & 50–950 ramp

primary
#C152E6
secondary
#BCE6AE
accent
#D70F41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152E6

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

Preview Lab → · Contrast checker → · Palette generator →

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