#C062F8#C062F8

#C062F8 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.1% C 0.223 H 310.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C062F8
RGBrgb(192, 98, 248)
HSLhsl(278, 91%, 68%)
HSVhsv(278, 60%, 97%)
CMYKcmyk(22.6%, 60.5%, 0%, 2.7%)
CIE-LABlab(58.71, 61.93, -60.04)
CIE-LCHlch(58.71, 86.25, 315.89°)
OKLaboklab(67.07% 0.1452 -0.169)
OKLCHoklch(67.07% 0.223 310.7)
XYZxyz(43.0460, 26.7201, 91.6786)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062F8 #9AF862
analogous
#7562F8 #C062F8 #F862E5
triadic
#C062F8 #F8C062 #62F8C0
tetradic
#C062F8 #F87562 #9AF862 #62E5F8
square
#C062F8 #F87562 #9AF862 #62E5F8
split-complementary
#C062F8 #E5F862 #62F875
monochromatic
#8A0AD6 #A827F5 #C062F8 #D89DFB #EFD7FD

Accessibility & contrast

On white

3.31
#C062F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C062F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062F8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062F8#FFFFFF#000000##000000
##C062F81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FD
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#B97FA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c062f8;
/* rgb */ color: rgb(192, 98, 248);
/* oklch */ color: oklch(67.1% 0.223 310.7);
Tailwind
colors: {
  custom: {
    50: '#d793fb',
    500: '#c062f8',
    950: '#000000',
  },
}
SCSS
$custom: #c062f8;
$custom-light: #d793fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c062f8",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 277.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67072,
    "c": 0.22286,
    "h": 310.7
  },
  "luminance": 0.26719
}

Semantic roles & 50–950 ramp

primary
#C062F8
secondary
#D5F2C4
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C062F8

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

Preview Lab → · Contrast checker → · Palette generator →

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