#C064FE#C064FE

#C064FE is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.7% C 0.226 H 309.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C064FE
RGBrgb(192, 100, 254)
HSLhsl(276, 99%, 69%)
HSVhsv(276, 61%, 100%)
CMYKcmyk(24.4%, 60.6%, 0%, 0.4%)
CIE-LABlab(59.41, 62.26, -62.24)
CIE-LCHlch(59.41, 88.03, 315.01°)
OKLaboklab(67.69% 0.1428 -0.1755)
OKLCHoklch(67.69% 0.226 309.1)
XYZxyz(44.1813, 27.4773, 96.7229)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064FE #A2FE64
analogous
#7364FE #C064FE #FE64EF
triadic
#C064FE #FEC064 #64FEC0
tetradic
#C064FE #FE7364 #A2FE64 #64EFFE
square
#C064FE #FE7364 #A2FE64 #64EFFE
split-complementary
#C064FE #EFFE64 #64FE73
monochromatic
#8A01E6 #A727FE #C064FE #D9A1FE #F1DEFF

Accessibility & contrast

On white

3.23
#C064FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C064FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064FE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064FE#FFFFFF#000000##000000
##C064FE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#B782A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c064fe;
/* rgb */ color: rgb(192, 100, 254);
/* oklch */ color: oklch(67.7% 0.226 309.1);
Tailwind
colors: {
  custom: {
    50: '#d795ff',
    500: '#c064fe',
    950: '#000000',
  },
}
SCSS
$custom: #c064fe;
$custom-light: #d795ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c064fe",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 275.844,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67691,
    "c": 0.22624,
    "h": 309.1
  },
  "luminance": 0.27477
}

Semantic roles & 50–950 ramp

primary
#C064FE
secondary
#DBF5C9
accent
#E6005C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C064FE

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

Preview Lab → · Contrast checker → · Palette generator →

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