#C164F8#C164F8

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

Color values

HEX#C164F8
RGBrgb(193, 100, 248)
HSLhsl(278, 91%, 68%)
HSVhsv(278, 60%, 97%)
CMYKcmyk(22.2%, 59.7%, 0%, 2.7%)
CIE-LABlab(59.19, 61.21, -59.28)
CIE-LCHlch(59.19, 85.21, 315.92°)
OKLaboklab(67.44% 0.1441 -0.1668)
OKLCHoklch(67.44% 0.22 310.8)
XYZxyz(43.4896, 27.2300, 91.7537)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F8 #9BF864
analogous
#7764F8 #C164F8 #F864E5
triadic
#C164F8 #F8C164 #64F8C1
tetradic
#C164F8 #F87764 #9BF864 #64E5F8
square
#C164F8 #F87764 #9BF864 #64E5F8
split-complementary
#C164F8 #E5F864 #64F877
monochromatic
#8B0AD8 #AA29F5 #C164F8 #D89FFB #F0D9FD

Accessibility & contrast

On white

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

On black

6.45
#C164F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F8#FFFFFF#000000##000000
##C164F81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFD
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#BA80A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c164f8;
/* rgb */ color: rgb(193, 100, 248);
/* oklch */ color: oklch(67.4% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#d795fb',
    500: '#c164f8',
    950: '#000000',
  },
}
SCSS
$custom: #c164f8;
$custom-light: #d795fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f8",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 277.703,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.22041,
    "h": 310.8
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#C164F8
secondary
#D6F2C5
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C164F8

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

Preview Lab → · Contrast checker → · Palette generator →

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