#C164FC#C164FC

#C164FC is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.7% C 0.225 H 309.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C164FC
RGBrgb(193, 100, 252)
HSLhsl(277, 96%, 69%)
HSVhsv(277, 60%, 99%)
CMYKcmyk(23.4%, 60.3%, 0%, 1.2%)
CIE-LABlab(59.42, 62.06, -61.12)
CIE-LCHlch(59.42, 87.10, 315.44°)
OKLaboklab(67.68% 0.1441 -0.1722)
OKLCHoklch(67.68% 0.225 309.9)
XYZxyz(44.1168, 27.4809, 95.0569)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164FC #9FFC64
analogous
#7564FC #C164FC #FC64EB
triadic
#C164FC #FCC164 #64FCC1
tetradic
#C164FC #FC7564 #9FFC64 #64EBFC
square
#C164FC #FC7564 #9FFC64 #64EBFC
split-complementary
#C164FC #EBFC64 #64FC75
monochromatic
#8C04E1 #A928FB #C164FC #D9A0FD #F1DCFE

Accessibility & contrast

On white

3.23
#C164FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C164FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164FC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164FC#FFFFFF#000000##000000
##C164FC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#5291F8
Tritanopia (blue-blind)
#B981A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c164fc;
/* rgb */ color: rgb(193, 100, 252);
/* oklch */ color: oklch(67.7% 0.225 309.9);
Tailwind
colors: {
  custom: {
    50: '#d795fe',
    500: '#c164fc',
    950: '#000000',
  },
}
SCSS
$custom: #c164fc;
$custom-light: #d795fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c164fc",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 252
  },
  "hsl": {
    "h": 276.711,
    "s": 96.203,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.2245,
    "h": 309.9
  },
  "luminance": 0.2748
}

Semantic roles & 50–950 ramp

primary
#C164FC
secondary
#D9F4C8
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C164FC

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

Preview Lab → · Contrast checker → · Palette generator →

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