#C064F5#C064F5

#C064F5 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.1% C 0.217 H 311.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#C064F5
RGBrgb(192, 100, 245)
HSLhsl(278, 88%, 68%)
HSVhsv(278, 59%, 96%)
CMYKcmyk(21.6%, 59.2%, 0%, 3.9%)
CIE-LABlab(58.89, 60.34, -58.09)
CIE-LCHlch(58.89, 83.76, 316.09°)
OKLaboklab(67.15% 0.1429 -0.1633)
OKLCHoklch(67.15% 0.217 311.2)
XYZxyz(42.7738, 26.9143, 89.3102)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064F5 #99F564
analogous
#7764F5 #C064F5 #F564E1
triadic
#C064F5 #F5C064 #64F5C0
tetradic
#C064F5 #F57764 #99F564 #64E1F5
square
#C064F5 #F57764 #99F564 #64E1F5
split-complementary
#C064F5 #E1F564 #64F577
monochromatic
#8A0DD1 #A92BF1 #C064F5 #D79DF9 #EFD7FC

Accessibility & contrast

On white

3.29
#C064F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#C064F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064F5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064F5#FFFFFF#000000##000000
##C064F51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89FA
Deuteranopia (green-blind)
#578FF2
Tritanopia (blue-blind)
#BA7FA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c064f5;
/* rgb */ color: rgb(192, 100, 245);
/* oklch */ color: oklch(67.1% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#d694f9',
    500: '#c064f5',
    950: '#000000',
  },
}
SCSS
$custom: #c064f5;
$custom-light: #d694f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c064f5",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 278.069,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.21701,
    "h": 311.2
  },
  "luminance": 0.26913
}

Semantic roles & 50–950 ramp

primary
#C064F5
secondary
#D4F1C4
accent
#E40154
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C064F5

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

Preview Lab → · Contrast checker → · Palette generator →

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