#C252BF#C252BF

#C252BF is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.2% C 0.193 H 328.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C252BF
RGBrgb(194, 82, 191)
HSLhsl(302, 48%, 54%)
HSVhsv(302, 58%, 76%)
CMYKcmyk(0%, 57.7%, 1.5%, 23.9%)
CIE-LABlab(53.24, 58.80, -36.51)
CIE-LCHlch(53.24, 69.21, 328.16°)
OKLaboklab(62.16% 0.1648 -0.1004)
OKLCHoklch(62.16% 0.193 328.6)
XYZxyz(34.6690, 21.2677, 51.5591)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252BF #52C255
analogous
#8D52C2 #C252BF #C25287
triadic
#C252BF #BFC252 #52BFC2
tetradic
#C252BF #C28D52 #52C255 #5287C2
square
#C252BF #C28D52 #52C255 #5287C2
split-complementary
#C252BF #87C252 #52C28D
monochromatic
#722870 #9F389C #C252BF #D27FD0 #E2ACE0

Accessibility & contrast

On white

4.00
#C252BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#C252BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252BF#FFFFFF#000000##000000
##C252BF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#6D84BC
Tritanopia (blue-blind)
#C85E81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c252bf;
/* rgb */ color: rgb(194, 82, 191);
/* oklch */ color: oklch(62.2% 0.193 328.6);
Tailwind
colors: {
  custom: {
    50: '#d789d2',
    500: '#c252bf',
    950: '#000000',
  },
}
SCSS
$custom: #c252bf;
$custom-light: #d789d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c252bf",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 301.607,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.19298,
    "h": 328.6
  },
  "luminance": 0.21266
}

Semantic roles & 50–950 ramp

primary
#C252BF
secondary
#A0D0A1
accent
#D75450
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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