#C252EF#C252EF

#C252EF is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.9% C 0.236 H 314.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C252EF
RGBrgb(194, 82, 239)
HSLhsl(283, 83%, 63%)
HSVhsv(283, 66%, 94%)
CMYKcmyk(18.8%, 65.7%, 0%, 6.3%)
CIE-LABlab(55.82, 67.72, -59.65)
CIE-LCHlch(55.82, 90.25, 318.63°)
OKLaboklab(64.87% 0.166 -0.1678)
OKLCHoklch(64.87% 0.236 314.7)
XYZxyz(40.8429, 23.7373, 84.0749)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252EF #7FEF52
analogous
#7452EF #C252EF #EF52CD
triadic
#C252EF #EFC252 #52EFC2
tetradic
#C252EF #EF7452 #7FEF52 #52CDEF
square
#C252EF #EF7452 #7FEF52 #52CDEF
split-complementary
#C252EF #CDEF52 #52EF74
monochromatic
#8711B6 #AE1AEA #C252EF #D68AF4 #EAC2F9

Accessibility & contrast

On white

3.65
#C252EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C252EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252EF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252EF#FFFFFF#000000##000000
##C252EF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4D89EB
Tritanopia (blue-blind)
#BE719A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c252ef;
/* rgb */ color: rgb(194, 82, 239);
/* oklch */ color: oklch(64.9% 0.236 314.7);
Tailwind
colors: {
  custom: {
    50: '#d88af5',
    500: '#c252ef',
    950: '#000000',
  },
}
SCSS
$custom: #c252ef;
$custom-light: #d88af5;
$custom-dark: #000000;
JSON
{
  "hex": "#c252ef",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 282.803,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64868,
    "c": 0.23601,
    "h": 314.7
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#C252EF
secondary
#C2EBB2
accent
#DF0644
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #C252EF

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

Preview Lab → · Contrast checker → · Palette generator →

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