#C064F8#C064F8

#C064F8 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.3% C 0.220 H 310.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C064F8
RGBrgb(192, 100, 248)
HSLhsl(277, 91%, 68%)
HSVhsv(277, 60%, 97%)
CMYKcmyk(22.6%, 59.7%, 0%, 2.7%)
CIE-LABlab(59.07, 60.98, -59.48)
CIE-LCHlch(59.07, 85.18, 315.71°)
OKLaboklab(67.33% 0.1429 -0.1674)
OKLCHoklch(67.33% 0.22 310.5)
XYZxyz(43.2355, 27.0990, 91.7418)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064F8 #9CF864
analogous
#7664F8 #C064F8 #F864E6
triadic
#C064F8 #F8C064 #64F8C0
tetradic
#C064F8 #F87664 #9CF864 #64E6F8
square
#C064F8 #F87664 #9CF864 #64E6F8
split-complementary
#C064F8 #E6F864 #64F876
monochromatic
#8A0AD8 #A829F5 #C064F8 #D89FFB #F0D9FD

Accessibility & contrast

On white

3.27
#C064F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C064F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064F8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064F8#FFFFFF#000000##000000
##C064F81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#B980A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c064f8;
/* rgb */ color: rgb(192, 100, 248);
/* oklch */ color: oklch(67.3% 0.220 310.5);
Tailwind
colors: {
  custom: {
    50: '#d794fb',
    500: '#c064f8',
    950: '#000000',
  },
}
SCSS
$custom: #c064f8;
$custom-light: #d794fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c064f8",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 277.297,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67327,
    "c": 0.22009,
    "h": 310.5
  },
  "luminance": 0.27098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C064F8

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

Preview Lab → · Contrast checker → · Palette generator →

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