#C252BE#C252BE

#C252BE is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.192 H 329.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C252BE
RGBrgb(194, 82, 190)
HSLhsl(302, 48%, 54%)
HSVhsv(302, 58%, 76%)
CMYKcmyk(0%, 57.7%, 2.1%, 23.9%)
CIE-LABlab(53.19, 58.62, -36.00)
CIE-LCHlch(53.19, 68.80, 328.44°)
OKLaboklab(62.11% 0.1647 -0.099)
OKLCHoklch(62.11% 0.192 329)
XYZxyz(34.5593, 21.2239, 50.9816)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252BE #52C256
analogous
#8E52C2 #C252BE #C25286
triadic
#C252BE #BEC252 #52BEC2
tetradic
#C252BE #C28E52 #52C256 #5286C2
square
#C252BE #C28E52 #52C256 #5286C2
split-complementary
#C252BE #86C252 #52C28E
monochromatic
#72286F #9F389B #C252BE #D27FCF #E2ACE0

Accessibility & contrast

On white

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

On black

5.24
#C252BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252BE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252BE#FFFFFF#000000##000000
##C252BE1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#6D84BB
Tritanopia (blue-blind)
#C85E80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c252be;
/* rgb */ color: rgb(194, 82, 190);
/* oklch */ color: oklch(62.1% 0.192 329.0);
Tailwind
colors: {
  custom: {
    50: '#d789d2',
    500: '#c252be',
    950: '#000000',
  },
}
SCSS
$custom: #c252be;
$custom-light: #d789d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c252be",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 302.143,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.19213,
    "h": 329
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#C252BE
secondary
#A0D0A2
accent
#D75550
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C252BE

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

Preview Lab → · Contrast checker → · Palette generator →

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