#C252DB#C252DB

#C252DB is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.218 H 319.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C252DB
RGBrgb(194, 82, 219)
HSLhsl(289, 66%, 59%)
HSVhsv(289, 63%, 86%)
CMYKcmyk(11.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(54.68, 63.85, -50.23)
CIE-LCHlch(54.68, 81.24, 321.81°)
OKLaboklab(63.68% 0.1664 -0.1402)
OKLCHoklch(63.68% 0.218 319.9)
XYZxyz(38.0500, 22.6202, 69.3660)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252DB #6BDB52
analogous
#7E52DB #C252DB #DB52B0
triadic
#C252DB #DBC252 #52DBC2
tetradic
#C252DB #DB7E52 #6BDB52 #52B0DB
square
#C252DB #DB7E52 #6BDB52 #52B0DB
split-complementary
#C252DB #B0DB52 #52DB7E
monochromatic
#7E1F94 #AA29C6 #C252DB #D485E6 #E6B7F0

Accessibility & contrast

On white

3.80
#C252DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C252DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252DB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252DB#FFFFFF#000000##000000
##C252DB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#5D87D8
Tritanopia (blue-blind)
#C3698F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c252db;
/* rgb */ color: rgb(194, 82, 219);
/* oklch */ color: oklch(63.7% 0.218 319.9);
Tailwind
colors: {
  custom: {
    50: '#d88ae7',
    500: '#c252db',
    950: '#000000',
  },
}
SCSS
$custom: #c252db;
$custom-light: #d88ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#c252db",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 289.051,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.21763,
    "h": 319.9
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#C252DB
secondary
#B3DFAA
accent
#E93F5E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252DB

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

Preview Lab → · Contrast checker → · Palette generator →

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