#C064EF#C064EF

#C064EF is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.8% C 0.211 H 312.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#C064EF
RGBrgb(192, 100, 239)
HSLhsl(280, 81%, 66%)
HSVhsv(280, 58%, 94%)
CMYKcmyk(19.7%, 58.2%, 0%, 6.3%)
CIE-LABlab(58.56, 59.08, -55.29)
CIE-LCHlch(58.56, 80.91, 316.90°)
OKLaboklab(66.8% 0.1428 -0.1551)
OKLCHoklch(66.8% 0.211 312.6)
XYZxyz(41.8727, 26.5539, 84.5643)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064EF #93EF64
analogous
#7B64EF #C064EF #EF64D9
triadic
#C064EF #EFC064 #64EFC0
tetradic
#C064EF #EF7B64 #93EF64 #64D9EF
square
#C064EF #EF7B64 #93EF64 #64D9EF
split-complementary
#C064EF #D9EF64 #64EF7B
monochromatic
#8914C4 #A92DE9 #C064EF #D79BF5 #EDD3FA

Accessibility & contrast

On white

3.33
#C064EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#C064EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064EF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064EF#FFFFFF#000000##000000
##C064EF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#BB7DA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c064ef;
/* rgb */ color: rgb(192, 100, 239);
/* oklch */ color: oklch(66.8% 0.211 312.6);
Tailwind
colors: {
  custom: {
    50: '#d694f5',
    500: '#c064ef',
    950: '#000000',
  },
}
SCSS
$custom: #c064ef;
$custom-light: #d694f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c064ef",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 279.712,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.21088,
    "h": 312.6
  },
  "luminance": 0.26553
}

Semantic roles & 50–950 ramp

primary
#C064EF
secondary
#D0EEC1
accent
#DE0850
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C064EF

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

Preview Lab → · Contrast checker → · Palette generator →

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