#C152DE#C152DE

#C152DE is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.220 H 318.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C152DE
RGBrgb(193, 82, 222)
HSLhsl(288, 68%, 60%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(13.1%, 63.1%, 0%, 12.9%)
CIE-LABlab(54.71, 64.19, -51.89)
CIE-LCHlch(54.71, 82.54, 321.05°)
OKLaboklab(63.72% 0.1653 -0.1451)
OKLCHoklch(63.72% 0.22 318.7)
XYZxyz(38.1927, 22.6476, 71.4527)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152DE #6FDE52
analogous
#7B52DE #C152DE #DE52B5
triadic
#C152DE #DEC152 #52DEC1
tetradic
#C152DE #DE7B52 #6FDE52 #52B5DE
square
#C152DE #DE7B52 #6FDE52 #52B5DE
split-complementary
#C152DE #B5DE52 #52DE7B
monochromatic
#7F1D99 #AA27CC #C152DE #D385E8 #E6B9F2

Accessibility & contrast

On white

3.80
#C152DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C152DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152DE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152DE#FFFFFF#000000##000000
##C152DE1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#277CE2
Deuteranopia (green-blind)
#5A87DB
Tritanopia (blue-blind)
#C16A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c152de;
/* rgb */ color: rgb(193, 82, 222);
/* oklch */ color: oklch(63.7% 0.220 318.7);
Tailwind
colors: {
  custom: {
    50: '#d78ae9',
    500: '#c152de',
    950: '#000000',
  },
}
SCSS
$custom: #c152de;
$custom-light: #d78ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c152de",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 287.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63721,
    "c": 0.21993,
    "h": 318.7
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

primary
#C152DE
secondary
#B6E1AB
accent
#EB3D61
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152DE

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

Preview Lab → · Contrast checker → · Palette generator →

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