#C164F6#C164F6

#C164F6 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.3% C 0.218 H 311.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C164F6
RGBrgb(193, 100, 246)
HSLhsl(278, 89%, 68%)
HSVhsv(278, 59%, 96%)
CMYKcmyk(21.5%, 59.3%, 0%, 3.5%)
CIE-LABlab(59.07, 60.78, -58.35)
CIE-LCHlch(59.07, 84.26, 316.17°)
OKLaboklab(67.32% 0.1441 -0.1641)
OKLCHoklch(67.32% 0.218 311.3)
XYZxyz(43.1810, 27.1066, 90.1283)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F6 #99F664
analogous
#7864F6 #C164F6 #F664E2
triadic
#C164F6 #F6C164 #64F6C1
tetradic
#C164F6 #F67864 #99F664 #64E2F6
square
#C164F6 #F67864 #99F664 #64E2F6
split-complementary
#C164F6 #E2F664 #64F678
monochromatic
#8B0CD3 #AA2AF3 #C164F6 #D89EF9 #EFD8FD

Accessibility & contrast

On white

3.27
#C164F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C164F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F6#FFFFFF#000000##000000
##C164F61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFB
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#BB7FA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c164f6;
/* rgb */ color: rgb(193, 100, 246);
/* oklch */ color: oklch(67.3% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#d795fa',
    500: '#c164f6',
    950: '#000000',
  },
}
SCSS
$custom: #c164f6;
$custom-light: #d795fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f6",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 278.219,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.21837,
    "h": 311.3
  },
  "luminance": 0.27106
}

Semantic roles & 50–950 ramp

primary
#C164F6
secondary
#D5F1C4
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C164F6

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

Preview Lab → · Contrast checker → · Palette generator →

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