#C062FB#C062FB

#C062FB is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.3% C 0.226 H 310.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#C062FB
RGBrgb(192, 98, 251)
HSLhsl(277, 95%, 68%)
HSVhsv(277, 61%, 98%)
CMYKcmyk(23.5%, 61%, 0%, 1.6%)
CIE-LABlab(58.89, 62.57, -61.42)
CIE-LCHlch(58.89, 87.68, 315.53°)
OKLaboklab(67.25% 0.1452 -0.1731)
OKLCHoklch(67.25% 0.226 310)
XYZxyz(43.5151, 26.9077, 94.1494)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062FB #9DFB62
analogous
#7362FB #C062FB #FB62E9
triadic
#C062FB #FBC062 #62FBC0
tetradic
#C062FB #FB7362 #9DFB62 #62E9FB
square
#C062FB #FB7362 #9DFB62 #62E9FB
split-complementary
#C062FB #E9FB62 #62FB73
monochromatic
#8A06DD #A826F9 #C062FB #D89EFD #F0D9FE

Accessibility & contrast

On white

3.29
#C062FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#C062FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062FB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062FB#FFFFFF#000000##000000
##C062FB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B89FF
Deuteranopia (green-blind)
#4F8FF7
Tritanopia (blue-blind)
#B880A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c062fb;
/* rgb */ color: rgb(192, 98, 251);
/* oklch */ color: oklch(67.3% 0.226 310.0);
Tailwind
colors: {
  custom: {
    50: '#d793fd',
    500: '#c062fb',
    950: '#000000',
  },
}
SCSS
$custom: #c062fb;
$custom-light: #d793fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c062fb",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 276.863,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67254,
    "c": 0.22591,
    "h": 310
  },
  "luminance": 0.26907
}

Semantic roles & 50–950 ramp

primary
#C062FB
secondary
#D7F3C5
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C062FB

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

Preview Lab → · Contrast checker → · Palette generator →

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