#C164F7#C164F7

#C164F7 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.4% C 0.219 H 311.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C164F7
RGBrgb(193, 100, 247)
HSLhsl(278, 90%, 68%)
HSVhsv(278, 60%, 97%)
CMYKcmyk(21.9%, 59.5%, 0%, 3.1%)
CIE-LABlab(59.13, 61.00, -58.81)
CIE-LCHlch(59.13, 84.73, 316.04°)
OKLaboklab(67.38% 0.1441 -0.1654)
OKLCHoklch(67.38% 0.219 311.1)
XYZxyz(43.3349, 27.1682, 90.9388)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F7 #9AF764
analogous
#7764F7 #C164F7 #F764E4
triadic
#C164F7 #F7C164 #64F7C1
tetradic
#C164F7 #F77764 #9AF764 #64E4F7
square
#C164F7 #F77764 #9AF764 #64E4F7
split-complementary
#C164F7 #E4F764 #64F777
monochromatic
#8B0BD6 #AA2AF4 #C164F7 #D89EFA #F0D8FD

Accessibility & contrast

On white

3.26
#C164F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C164F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F7#FFFFFF#000000##000000
##C164F71.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#BA80A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c164f7;
/* rgb */ color: rgb(193, 100, 247);
/* oklch */ color: oklch(67.4% 0.219 311.1);
Tailwind
colors: {
  custom: {
    50: '#d795fa',
    500: '#c164f7',
    950: '#000000',
  },
}
SCSS
$custom: #c164f7;
$custom-light: #d795fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f7",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 277.959,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67381,
    "c": 0.21939,
    "h": 311.1
  },
  "luminance": 0.27167
}

Semantic roles & 50–950 ramp

primary
#C164F7
secondary
#D5F2C5
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C164F7

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

Preview Lab → · Contrast checker → · Palette generator →

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