#C164F0#C164F0

#C164F0 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.0% C 0.212 H 312.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#C164F0
RGBrgb(193, 100, 240)
HSLhsl(280, 82%, 67%)
HSVhsv(280, 58%, 94%)
CMYKcmyk(19.6%, 58.3%, 0%, 5.9%)
CIE-LABlab(58.74, 59.53, -55.56)
CIE-LCHlch(58.74, 81.42, 316.98°)
OKLaboklab(66.97% 0.144 -0.1559)
OKLCHoklch(66.97% 0.212 312.7)
XYZxyz(42.2749, 26.7442, 85.3564)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F0 #93F064
analogous
#7B64F0 #C164F0 #F064D9
triadic
#C164F0 #F0C164 #64F0C1
tetradic
#C164F0 #F07B64 #93F064 #64D9F0
square
#C164F0 #F07B64 #93F064 #64D9F0
split-complementary
#C164F0 #D9F064 #64F07B
monochromatic
#8A13C6 #AB2CEB #C164F0 #D79CF5 #EED4FB

Accessibility & contrast

On white

3.31
#C164F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C164F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F0#FFFFFF#000000##000000
##C164F01.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#5C8FED
Tritanopia (blue-blind)
#BC7DA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c164f0;
/* rgb */ color: rgb(193, 100, 240);
/* oklch */ color: oklch(67.0% 0.212 312.7);
Tailwind
colors: {
  custom: {
    50: '#d794f5',
    500: '#c164f0',
    950: '#000000',
  },
}
SCSS
$custom: #c164f0;
$custom-light: #d794f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f0",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 279.857,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66969,
    "c": 0.21226,
    "h": 312.7
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#C164F0
secondary
#D0EEC1
accent
#DF074F
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C164F0

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

Preview Lab → · Contrast checker → · Palette generator →

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