#C252BB#C252BB

#C252BB is a mid, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.190 H 330.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C252BB
RGBrgb(194, 82, 187)
HSLhsl(304, 48%, 54%)
HSVhsv(304, 58%, 76%)
CMYKcmyk(0%, 57.7%, 3.6%, 23.9%)
CIE-LABlab(53.05, 58.11, -34.49)
CIE-LCHlch(53.05, 67.58, 329.31°)
OKLaboklab(61.96% 0.1643 -0.0946)
OKLCHoklch(61.96% 0.19 330.1)
XYZxyz(34.2348, 21.0941, 49.2725)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252BB #52C259
analogous
#9152C2 #C252BB #C25283
triadic
#C252BB #BBC252 #52BBC2
tetradic
#C252BB #C29152 #52C259 #5283C2
square
#C252BB #C29152 #52C259 #5283C2
split-complementary
#C252BB #83C252 #52C291
monochromatic
#72286D #9F3898 #C252BB #D27FCD #E2ACDF

Accessibility & contrast

On white

4.02
#C252BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C252BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252BB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252BB#FFFFFF#000000##000000
##C252BB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#6F84B8
Tritanopia (blue-blind)
#C95D7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c252bb;
/* rgb */ color: rgb(194, 82, 187);
/* oklch */ color: oklch(62.0% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#d789d0',
    500: '#c252bb',
    950: '#000000',
  },
}
SCSS
$custom: #c252bb;
$custom-light: #d789d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c252bb",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 303.75,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.18962,
    "h": 330.1
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#C252BB
secondary
#A0D0A3
accent
#D75950
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C252BB

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

Preview Lab → · Contrast checker → · Palette generator →

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