#C064F7#C064F7

#C064F7 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.3% C 0.219 H 310.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C064F7
RGBrgb(192, 100, 247)
HSLhsl(278, 90%, 68%)
HSVhsv(278, 60%, 97%)
CMYKcmyk(22.3%, 59.5%, 0%, 3.1%)
CIE-LABlab(59.01, 60.76, -59.01)
CIE-LCHlch(59.01, 84.70, 315.84°)
OKLaboklab(67.27% 0.1429 -0.166)
OKLCHoklch(67.27% 0.219 310.7)
XYZxyz(43.0808, 27.0371, 90.9269)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064F7 #9BF764
analogous
#7664F7 #C064F7 #F764E4
triadic
#C064F7 #F7C064 #64F7C0
tetradic
#C064F7 #F77664 #9BF764 #64E4F7
square
#C064F7 #F77664 #9BF764 #64E4F7
split-complementary
#C064F7 #E4F764 #64F776
monochromatic
#8A0BD6 #A82AF4 #C064F7 #D89EFA #EFD8FD

Accessibility & contrast

On white

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

On black

6.41
#C064F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064F7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064F7#FFFFFF#000000##000000
##C064F71.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#5590F3
Tritanopia (blue-blind)
#B980A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c064f7;
/* rgb */ color: rgb(192, 100, 247);
/* oklch */ color: oklch(67.3% 0.219 310.7);
Tailwind
colors: {
  custom: {
    50: '#d794fa',
    500: '#c064f7',
    950: '#000000',
  },
}
SCSS
$custom: #c064f7;
$custom-light: #d794fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c064f7",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 277.551,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67267,
    "c": 0.21906,
    "h": 310.7
  },
  "luminance": 0.27036
}

Semantic roles & 50–950 ramp

primary
#C064F7
secondary
#D6F2C5
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C064F7

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

Preview Lab → · Contrast checker → · Palette generator →

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