#C152E3#C152E3

#C152E3 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.225 H 317.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C152E3
RGBrgb(193, 82, 227)
HSLhsl(286, 72%, 61%)
HSVhsv(286, 64%, 89%)
CMYKcmyk(15%, 63.9%, 0%, 11%)
CIE-LABlab(54.99, 65.15, -54.26)
CIE-LCHlch(54.99, 84.79, 320.21°)
OKLaboklab(64.02% 0.1652 -0.152)
OKLCHoklch(64.02% 0.225 317.4)
XYZxyz(38.8727, 22.9197, 75.0344)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152E3 #74E352
analogous
#7852E3 #C152E3 #E352BC
triadic
#C152E3 #E3C152 #52E3C1
tetradic
#C152E3 #E37852 #74E352 #52BCE3
square
#C152E3 #E37852 #74E352 #52BCE3
split-complementary
#C152E3 #BCE352 #52E378
monochromatic
#811AA1 #AB23D5 #C152E3 #D487EC #E7BBF4

Accessibility & contrast

On white

3.76
#C152E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C152E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152E3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152E3#FFFFFF#000000##000000
##C152E31.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE7
Deuteranopia (green-blind)
#5687DF
Tritanopia (blue-blind)
#C06C94
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c152e3;
/* rgb */ color: rgb(193, 82, 227);
/* oklch */ color: oklch(64.0% 0.225 317.4);
Tailwind
colors: {
  custom: {
    50: '#d78aec',
    500: '#c152e3',
    950: '#000000',
  },
}
SCSS
$custom: #c152e3;
$custom-light: #d78aec;
$custom-dark: #000000;
JSON
{
  "hex": "#c152e3",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 285.931,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.22452,
    "h": 317.4
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#C152E3
secondary
#BAE4AD
accent
#D4113F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152E3

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

Preview Lab → · Contrast checker → · Palette generator →

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