#C252FF#C252FF

#C252FF is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.9% C 0.251 H 311.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C252FF
RGBrgb(194, 82, 255)
HSLhsl(279, 100%, 66%)
HSVhsv(279, 68%, 100%)
CMYKcmyk(23.9%, 67.8%, 0%, 0%)
CIE-LABlab(56.81, 70.94, -66.97)
CIE-LCHlch(56.81, 97.56, 316.65°)
OKLaboklab(65.89% 0.1648 -0.1892)
OKLCHoklch(65.89% 0.251 311.1)
XYZxyz(43.3120, 24.7250, 97.0791)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252FF #8FFF52
analogous
#6B52FF #C252FF #FF52E5
triadic
#C252FF #FFC252 #52FFC2
tetradic
#C252FF #FF6B52 #8FFF52 #52E5FF
square
#C252FF #FF6B52 #8FFF52 #52E5FF
split-complementary
#C252FF #E5FF52 #52FF6B
monochromatic
#8B00D7 #AC15FF #C252FF #D88FFF #EDCCFF

Accessibility & contrast

On white

3.53
#C252FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C252FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252FF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252FF#FFFFFF#000000##000000
##C252FF1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#BA77A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c252ff;
/* rgb */ color: rgb(194, 82, 255);
/* oklch */ color: oklch(65.9% 0.251 311.1);
Tailwind
colors: {
  custom: {
    50: '#d98bff',
    500: '#c252ff',
    950: '#000000',
  },
}
SCSS
$custom: #c252ff;
$custom-light: #d98bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c252ff",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 278.844,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65886,
    "c": 0.25091,
    "h": 311.1
  },
  "luminance": 0.24724
}

Semantic roles & 50–950 ramp

primary
#C252FF
secondary
#CEF3BA
accent
#E60051
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #C252FF

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

Preview Lab → · Contrast checker → · Palette generator →

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