#C152D7#C152D7

#C152D7 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.214 H 320.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C152D7
RGBrgb(193, 82, 215)
HSLhsl(290, 62%, 58%)
HSVhsv(290, 62%, 84%)
CMYKcmyk(10.2%, 61.9%, 0%, 15.7%)
CIE-LABlab(54.32, 62.87, -48.54)
CIE-LCHlch(54.32, 79.42, 322.33°)
OKLaboklab(63.32% 0.1652 -0.1353)
OKLCHoklch(63.32% 0.214 320.7)
XYZxyz(37.2739, 22.2801, 66.6139)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152D7 #68D752
analogous
#7E52D7 #C152D7 #D752AA
triadic
#C152D7 #D7C152 #52D7C1
tetradic
#C152D7 #D77E52 #68D752 #52AAD7
square
#C152D7 #D77E52 #68D752 #52AAD7
split-complementary
#C152D7 #AAD752 #52D77E
monochromatic
#7C218E #A72CC0 #C152D7 #D384E2 #E5B5EE

Accessibility & contrast

On white

3.85
#C152D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#C152D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152D7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152D7#FFFFFF#000000##000000
##C152D71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADB
Deuteranopia (green-blind)
#5F86D4
Tritanopia (blue-blind)
#C2678D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c152d7;
/* rgb */ color: rgb(193, 82, 215);
/* oklch */ color: oklch(63.3% 0.214 320.7);
Tailwind
colors: {
  custom: {
    50: '#d789e4',
    500: '#c152d7',
    950: '#000000',
  },
}
SCSS
$custom: #c152d7;
$custom-light: #d789e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c152d7",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 290.075,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.21355,
    "h": 320.7
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#C152D7
secondary
#B1DDA8
accent
#E6425D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C152D7

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

Preview Lab → · Contrast checker → · Palette generator →

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