#C062F9#C062F9

#C062F9 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 67.1% C 0.224 H 310.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C062F9
RGBrgb(192, 98, 249)
HSLhsl(277, 93%, 68%)
HSVhsv(277, 61%, 98%)
CMYKcmyk(22.9%, 60.6%, 0%, 2.4%)
CIE-LABlab(58.77, 62.14, -60.50)
CIE-LCHlch(58.77, 86.73, 315.77°)
OKLaboklab(67.13% 0.1452 -0.1704)
OKLCHoklch(67.13% 0.224 310.4)
XYZxyz(43.2016, 26.7823, 92.4978)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062F9 #9BF962
analogous
#7462F9 #C062F9 #F962E6
triadic
#C062F9 #F9C062 #62F9C0
tetradic
#C062F9 #F97462 #9BF962 #62E6F9
square
#C062F9 #F97462 #9BF962 #62E6F9
split-complementary
#C062F9 #E6F962 #62F974
monochromatic
#8A08D8 #A827F7 #C062F9 #D89DFB #EFD8FE

Accessibility & contrast

On white

3.30
#C062F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C062F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062F9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062F9#FFFFFF#000000##000000
##C062F91.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2089FE
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#B97FA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c062f9;
/* rgb */ color: rgb(192, 98, 249);
/* oklch */ color: oklch(67.1% 0.224 310.4);
Tailwind
colors: {
  custom: {
    50: '#d793fc',
    500: '#c062f9',
    950: '#000000',
  },
}
SCSS
$custom: #c062f9;
$custom-light: #d793fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c062f9",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 277.351,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67132,
    "c": 0.22388,
    "h": 310.4
  },
  "luminance": 0.26781
}

Semantic roles & 50–950 ramp

primary
#C062F9
secondary
#D6F2C4
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C062F9

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

Preview Lab → · Contrast checker → · Palette generator →

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