#C252CB#C252CB

#C252CB is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.203 H 324.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C252CB
RGBrgb(194, 82, 203)
HSLhsl(296, 54%, 56%)
HSVhsv(296, 60%, 80%)
CMYKcmyk(4.4%, 59.6%, 0%, 20.4%)
CIE-LABlab(53.83, 60.91, -42.47)
CIE-LCHlch(53.83, 74.25, 325.11°)
OKLaboklab(62.79% 0.1658 -0.1176)
OKLCHoklch(62.79% 0.203 324.6)
XYZxyz(36.0440, 21.8178, 58.8011)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252CB #5BCB52
analogous
#8552CB #C252CB #CB5297
triadic
#C252CB #CBC252 #52CBC2
tetradic
#C252CB #CB8552 #5BCB52 #5297CB
square
#C252CB #CB8552 #5BCB52 #5297CB
split-complementary
#C252CB #97CB52 #52CB85
monochromatic
#77267D #A334AC #C252CB #D381D9 #E3B0E7

Accessibility & contrast

On white

3.92
#C252CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#C252CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252CB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252CB#FFFFFF#000000##000000
##C252CB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#6785C8
Tritanopia (blue-blind)
#C66387
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c252cb;
/* rgb */ color: rgb(194, 82, 203);
/* oklch */ color: oklch(62.8% 0.203 324.6);
Tailwind
colors: {
  custom: {
    50: '#d789db',
    500: '#c252cb',
    950: '#000000',
  },
}
SCSS
$custom: #c252cb;
$custom-light: #d789db;
$custom-dark: #000000;
JSON
{
  "hex": "#c252cb",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 295.537,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62787,
    "c": 0.20333,
    "h": 324.6
  },
  "luminance": 0.21816
}

Semantic roles & 50–950 ramp

primary
#C252CB
secondary
#A7D5A3
accent
#DD4B56
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C252CB

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

Preview Lab → · Contrast checker → · Palette generator →

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