#C164FB#C164FB

#C164FB is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.6% C 0.223 H 310.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#C164FB
RGBrgb(193, 100, 251)
HSLhsl(277, 95%, 69%)
HSVhsv(277, 60%, 98%)
CMYKcmyk(23.1%, 60.2%, 0%, 1.6%)
CIE-LABlab(59.36, 61.85, -60.66)
CIE-LCHlch(59.36, 86.63, 315.55°)
OKLaboklab(67.62% 0.1441 -0.1708)
OKLCHoklch(67.62% 0.223 310.1)
XYZxyz(43.9588, 27.4177, 94.2245)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164FB #9EFB64
analogous
#7664FB #C164FB #FB64E9
triadic
#C164FB #FBC164 #64FBC1
tetradic
#C164FB #FB7664 #9EFB64 #64E9FB
square
#C164FB #FB7664 #9EFB64 #64E9FB
split-complementary
#C164FB #E9FB64 #64FB76
monochromatic
#8B06DF #A928F9 #C164FB #D9A0FD #F1DBFE

Accessibility & contrast

On white

3.24
#C164FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#C164FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164FB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164FB#FFFFFF#000000##000000
##C164FB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#B981A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c164fb;
/* rgb */ color: rgb(193, 100, 251);
/* oklch */ color: oklch(67.6% 0.223 310.1);
Tailwind
colors: {
  custom: {
    50: '#d795fd',
    500: '#c164fb',
    950: '#000000',
  },
}
SCSS
$custom: #c164fb;
$custom-light: #d795fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c164fb",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 276.954,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67622,
    "c": 0.22348,
    "h": 310.1
  },
  "luminance": 0.27417
}

Semantic roles & 50–950 ramp

primary
#C164FB
secondary
#D8F4C7
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C164FB

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

Preview Lab → · Contrast checker → · Palette generator →

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