#C060F5#C060F5

#C060F5 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.6% C 0.223 H 311.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#C060F5
RGBrgb(192, 96, 245)
HSLhsl(279, 88%, 67%)
HSVhsv(279, 61%, 96%)
CMYKcmyk(21.6%, 60.8%, 0%, 3.9%)
CIE-LABlab(58.19, 62.24, -59.21)
CIE-LCHlch(58.19, 85.90, 316.43°)
OKLaboklab(66.64% 0.1476 -0.1666)
OKLCHoklch(66.64% 0.223 311.5)
XYZxyz(42.3995, 26.1658, 89.1855)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C060F5 #95F560
analogous
#7660F5 #C060F5 #F560DF
triadic
#C060F5 #F5C060 #60F5C0
tetradic
#C060F5 #F57660 #95F560 #60DFF5
square
#C060F5 #F57660 #95F560 #60DFF5
split-complementary
#C060F5 #DFF560 #60F576
monochromatic
#890DCE #A926F1 #C060F5 #D79AF9 #EED3FC

Accessibility & contrast

On white

3.37
#C060F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#C060F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C060F5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C060F5#FFFFFF#000000##000000
##C060F51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287FA
Deuteranopia (green-blind)
#538EF1
Tritanopia (blue-blind)
#BA7CA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c060f5;
/* rgb */ color: rgb(192, 96, 245);
/* oklch */ color: oklch(66.6% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#d792f9',
    500: '#c060f5',
    950: '#000000',
  },
}
SCSS
$custom: #c060f5;
$custom-light: #d792f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c060f5",
  "rgb": {
    "r": 192,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 278.658,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66639,
    "c": 0.22259,
    "h": 311.5
  },
  "luminance": 0.26165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C060F5

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

Preview Lab → · Contrast checker → · Palette generator →

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