#C062F3#C062F3

#C062F3 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.8% C 0.218 H 311.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#C062F3
RGBrgb(192, 98, 243)
HSLhsl(279, 86%, 67%)
HSVhsv(279, 60%, 95%)
CMYKcmyk(21%, 59.7%, 0%, 4.7%)
CIE-LABlab(58.43, 60.87, -57.72)
CIE-LCHlch(58.43, 83.89, 316.52°)
OKLaboklab(66.77% 0.1453 -0.1623)
OKLCHoklch(66.77% 0.218 311.8)
XYZxyz(42.2807, 26.4139, 87.6478)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062F3 #95F362
analogous
#7862F3 #C062F3 #F362DD
triadic
#C062F3 #F3C062 #62F3C0
tetradic
#C062F3 #F37862 #95F362 #62DDF3
square
#C062F3 #F37862 #95F362 #62DDF3
split-complementary
#C062F3 #DDF362 #62F378
monochromatic
#8910CB #A929EF #C062F3 #D79BF7 #EED4FC

Accessibility & contrast

On white

3.34
#C062F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#C062F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062F3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062F3#FFFFFF#000000##000000
##C062F31.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F8
Deuteranopia (green-blind)
#578EF0
Tritanopia (blue-blind)
#BA7DA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c062f3;
/* rgb */ color: rgb(192, 98, 243);
/* oklch */ color: oklch(66.8% 0.218 311.8);
Tailwind
colors: {
  custom: {
    50: '#d693f8',
    500: '#c062f3',
    950: '#000000',
  },
}
SCSS
$custom: #c062f3;
$custom-light: #d693f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c062f3",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 278.897,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.21779,
    "h": 311.8
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#C062F3
secondary
#D2F0C1
accent
#E20352
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C062F3

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

Preview Lab → · Contrast checker → · Palette generator →

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