#C062FC#C062FC

#C062FC is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.3% C 0.227 H 309.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C062FC
RGBrgb(192, 98, 252)
HSLhsl(277, 96%, 69%)
HSVhsv(277, 61%, 99%)
CMYKcmyk(23.8%, 61.1%, 0%, 1.2%)
CIE-LABlab(58.95, 62.78, -61.88)
CIE-LCHlch(58.95, 88.15, 315.41°)
OKLaboklab(67.32% 0.1452 -0.1744)
OKLCHoklch(67.32% 0.227 309.8)
XYZxyz(43.6732, 26.9709, 94.9818)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062FC #9EFC62
analogous
#7362FC #C062FC #FC62EB
triadic
#C062FC #FCC062 #62FCC0
tetradic
#C062FC #FC7362 #9EFC62 #62EBFC
square
#C062FC #FC7362 #9EFC62 #62EBFC
split-complementary
#C062FC #EBFC62 #62FC73
monochromatic
#8A04DF #A826FB #C062FC #D89EFD #F0DAFE

Accessibility & contrast

On white

3.28
#C062FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C062FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062FC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062FC#FFFFFF#000000##000000
##C062FC1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#188AFF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#B880A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c062fc;
/* rgb */ color: rgb(192, 98, 252);
/* oklch */ color: oklch(67.3% 0.227 309.8);
Tailwind
colors: {
  custom: {
    50: '#d793fe',
    500: '#c062fc',
    950: '#000000',
  },
}
SCSS
$custom: #c062fc;
$custom-light: #d793fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c062fc",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 276.623,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67316,
    "c": 0.22692,
    "h": 309.8
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#C062FC
secondary
#D8F4C6
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C062FC

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

Preview Lab → · Contrast checker → · Palette generator →

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