#C152E8#C152E8

#C152E8 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.229 H 316.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#C152E8
RGBrgb(193, 82, 232)
HSLhsl(284, 77%, 62%)
HSVhsv(284, 65%, 91%)
CMYKcmyk(16.8%, 64.7%, 0%, 9%)
CIE-LABlab(55.28, 66.13, -56.61)
CIE-LCHlch(55.28, 87.05, 319.43°)
OKLaboklab(64.32% 0.1651 -0.1589)
OKLCHoklch(64.32% 0.229 316.1)
XYZxyz(39.5729, 23.1997, 78.7217)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152E8 #79E852
analogous
#7652E8 #C152E8 #E852C4
triadic
#C152E8 #E8C152 #52E8C1
tetradic
#C152E8 #E87652 #79E852 #52C4E8
square
#C152E8 #E87652 #79E852 #52C4E8
split-complementary
#C152E8 #C4E852 #52E876
monochromatic
#8316A9 #AD1EDF #C152E8 #D488EF #E8BEF6

Accessibility & contrast

On white

3.72
#C152E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#C152E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152E8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152E8#FFFFFF#000000##000000
##C152E81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7EEC
Deuteranopia (green-blind)
#5288E4
Tritanopia (blue-blind)
#BF6E96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c152e8;
/* rgb */ color: rgb(193, 82, 232);
/* oklch */ color: oklch(64.3% 0.229 316.1);
Tailwind
colors: {
  custom: {
    50: '#d78af0',
    500: '#c152e8',
    950: '#000000',
  },
}
SCSS
$custom: #c152e8;
$custom-light: #d78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#c152e8",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 284.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.22914,
    "h": 316.1
  },
  "luminance": 0.23198
}

Semantic roles & 50–950 ramp

primary
#C152E8
secondary
#BEE7AF
accent
#D90D42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C152E8

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

Preview Lab → · Contrast checker → · Palette generator →

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