#C064F6#C064F6

#C064F6 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.2% C 0.218 H 310.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#C064F6
RGBrgb(192, 100, 246)
HSLhsl(278, 89%, 68%)
HSVhsv(278, 59%, 96%)
CMYKcmyk(22%, 59.3%, 0%, 3.5%)
CIE-LABlab(58.95, 60.55, -58.55)
CIE-LCHlch(58.95, 84.23, 315.96°)
OKLaboklab(67.21% 0.1429 -0.1647)
OKLCHoklch(67.21% 0.218 310.9)
XYZxyz(42.9269, 26.9756, 90.1164)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064F6 #9AF664
analogous
#7764F6 #C064F6 #F664E3
triadic
#C064F6 #F6C064 #64F6C0
tetradic
#C064F6 #F67764 #9AF664 #64E3F6
square
#C064F6 #F67764 #9AF664 #64E3F6
split-complementary
#C064F6 #E3F664 #64F677
monochromatic
#8A0CD3 #A82AF3 #C064F6 #D89EF9 #EFD8FD

Accessibility & contrast

On white

3.28
#C064F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#C064F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064F6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064F6#FFFFFF#000000##000000
##C064F61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FB
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#B97FA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c064f6;
/* rgb */ color: rgb(192, 100, 246);
/* oklch */ color: oklch(67.2% 0.218 310.9);
Tailwind
colors: {
  custom: {
    50: '#d694fa',
    500: '#c064f6',
    950: '#000000',
  },
}
SCSS
$custom: #c064f6;
$custom-light: #d694fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c064f6",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 277.808,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67207,
    "c": 0.21803,
    "h": 310.9
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#C064F6
secondary
#D5F1C4
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C064F6

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

Preview Lab → · Contrast checker → · Palette generator →

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