#C062F2#C062F2

#C062F2 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.7% C 0.217 H 312.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#C062F2
RGBrgb(192, 98, 242)
HSLhsl(279, 85%, 67%)
HSVhsv(279, 60%, 95%)
CMYKcmyk(20.7%, 59.5%, 0%, 5.1%)
CIE-LABlab(58.37, 60.66, -57.26)
CIE-LCHlch(58.37, 83.42, 316.65°)
OKLaboklab(66.71% 0.1453 -0.1609)
OKLCHoklch(66.71% 0.217 312.1)
XYZxyz(42.1301, 26.3537, 86.8546)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062F2 #94F262
analogous
#7862F2 #C062F2 #F262DC
triadic
#C062F2 #F2C062 #62F2C0
tetradic
#C062F2 #F27862 #94F262 #62DCF2
square
#C062F2 #F27862 #94F262 #62DCF2
split-complementary
#C062F2 #DCF262 #62F278
monochromatic
#8911C9 #A929ED #C062F2 #D79BF7 #EDD3FB

Accessibility & contrast

On white

3.35
#C062F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#C062F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062F2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062F2#FFFFFF#000000##000000
##C062F21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#BA7DA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c062f2;
/* rgb */ color: rgb(192, 98, 242);
/* oklch */ color: oklch(66.7% 0.217 312.1);
Tailwind
colors: {
  custom: {
    50: '#d693f7',
    500: '#c062f2',
    950: '#000000',
  },
}
SCSS
$custom: #c062f2;
$custom-light: #d693f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c062f2",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 279.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66712,
    "c": 0.21678,
    "h": 312.1
  },
  "luminance": 0.26353
}

Semantic roles & 50–950 ramp

primary
#C062F2
secondary
#D1EFC1
accent
#E10451
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C062F2

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

Preview Lab → · Contrast checker → · Palette generator →

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