#C064F2#C064F2

#C064F2 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.0% C 0.214 H 311.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#C064F2
RGBrgb(192, 100, 242)
HSLhsl(279, 85%, 67%)
HSVhsv(279, 59%, 95%)
CMYKcmyk(20.7%, 58.7%, 0%, 5.1%)
CIE-LABlab(58.73, 59.71, -56.69)
CIE-LCHlch(58.73, 82.33, 316.48°)
OKLaboklab(66.97% 0.1429 -0.1592)
OKLCHoklch(66.97% 0.214 311.9)
XYZxyz(42.3195, 26.7326, 86.9178)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064F2 #96F264
analogous
#7964F2 #C064F2 #F264DD
triadic
#C064F2 #F2C064 #64F2C0
tetradic
#C064F2 #F27964 #96F264 #64DDF2
square
#C064F2 #F27964 #96F264 #64DDF2
split-complementary
#C064F2 #DDF264 #64F279
monochromatic
#8911CB #A92CED #C064F2 #D79CF7 #EED5FB

Accessibility & contrast

On white

3.31
#C064F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C064F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064F2#FFFFFF#000000##000000
##C064F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#BA7EA2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c064f2;
/* rgb */ color: rgb(192, 100, 242);
/* oklch */ color: oklch(67.0% 0.214 311.9);
Tailwind
colors: {
  custom: {
    50: '#d694f7',
    500: '#c064f2',
    950: '#000000',
  },
}
SCSS
$custom: #c064f2;
$custom-light: #d694f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c064f2",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 278.873,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6697,
    "c": 0.21394,
    "h": 311.9
  },
  "luminance": 0.26732
}

Semantic roles & 50–950 ramp

primary
#C064F2
secondary
#D2EFC2
accent
#E10552
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C064F2

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

Preview Lab → · Contrast checker → · Palette generator →

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