#C164F9#C164F9

#C164F9 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.5% C 0.221 H 310.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#C164F9
RGBrgb(193, 100, 249)
HSLhsl(277, 93%, 68%)
HSVhsv(277, 60%, 98%)
CMYKcmyk(22.5%, 59.8%, 0%, 2.4%)
CIE-LABlab(59.24, 61.42, -59.74)
CIE-LCHlch(59.24, 85.68, 315.80°)
OKLaboklab(67.5% 0.1441 -0.1681)
OKLCHoklch(67.5% 0.221 310.6)
XYZxyz(43.6452, 27.2923, 92.5729)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F9 #9CF964
analogous
#7664F9 #C164F9 #F964E6
triadic
#C164F9 #F9C164 #64F9C1
tetradic
#C164F9 #F97664 #9CF964 #64E6F9
square
#C164F9 #F97664 #9CF964 #64E6F9
split-complementary
#C164F9 #E6F964 #64F976
monochromatic
#8B08DA #A929F7 #C164F9 #D99FFB #F0DAFE

Accessibility & contrast

On white

3.25
#C164F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#C164F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F9#FFFFFF#000000##000000
##C164F91.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFE
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#BA80A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c164f9;
/* rgb */ color: rgb(193, 100, 249);
/* oklch */ color: oklch(67.5% 0.221 310.6);
Tailwind
colors: {
  custom: {
    50: '#d795fc',
    500: '#c164f9',
    950: '#000000',
  },
}
SCSS
$custom: #c164f9;
$custom-light: #d795fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f9",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 277.45,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.22143,
    "h": 310.6
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#C164F9
secondary
#D7F3C6
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C164F9

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

Preview Lab → · Contrast checker → · Palette generator →

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