#C252FC#C252FC

#C252FC is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.7% C 0.248 H 311.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C252FC
RGBrgb(194, 82, 252)
HSLhsl(280, 97%, 65%)
HSVhsv(280, 67%, 99%)
CMYKcmyk(23%, 67.5%, 0%, 1.2%)
CIE-LABlab(56.62, 70.33, -65.61)
CIE-LCHlch(56.62, 96.18, 316.99°)
OKLaboklab(65.69% 0.1651 -0.1852)
OKLCHoklch(65.69% 0.248 311.7)
XYZxyz(42.8329, 24.5333, 94.5556)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252FC #8CFC52
analogous
#6D52FC #C252FC #FC52E1
triadic
#C252FC #FCC252 #52FCC2
tetradic
#C252FC #FC6D52 #8CFC52 #52E1FC
square
#C252FC #FC6D52 #8CFC52 #52E1FC
split-complementary
#C252FC #E1FC52 #52FC6D
monochromatic
#8A04D0 #AD16FB #C252FC #D78EFD #ECCAFE

Accessibility & contrast

On white

3.56
#C252FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C252FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252FC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252FC#FFFFFF#000000##000000
##C252FC1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3E8AF8
Tritanopia (blue-blind)
#BB76A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c252fc;
/* rgb */ color: rgb(194, 82, 252);
/* oklch */ color: oklch(65.7% 0.248 311.7);
Tailwind
colors: {
  custom: {
    50: '#d98afe',
    500: '#c252fc',
    950: '#000000',
  },
}
SCSS
$custom: #c252fc;
$custom-light: #d98afe;
$custom-dark: #000000;
JSON
{
  "hex": "#c252fc",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 252
  },
  "hsl": {
    "h": 279.529,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.24811,
    "h": 311.7
  },
  "luminance": 0.24532
}

Semantic roles & 50–950 ramp

primary
#C252FC
secondary
#CCF1B8
accent
#E6004E
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #C252FC

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

Preview Lab → · Contrast checker → · Palette generator →

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