#C164F5#C164F5

#C164F5 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.3% C 0.217 H 311.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C164F5
RGBrgb(193, 100, 245)
HSLhsl(278, 88%, 68%)
HSVhsv(278, 59%, 96%)
CMYKcmyk(21.2%, 59.2%, 0%, 3.9%)
CIE-LABlab(59.02, 60.57, -57.89)
CIE-LCHlch(59.02, 83.79, 316.30°)
OKLaboklab(67.26% 0.1441 -0.1627)
OKLCHoklch(67.26% 0.217 311.5)
XYZxyz(43.0279, 27.0454, 89.3221)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F5 #98F564
analogous
#7964F5 #C164F5 #F564E0
triadic
#C164F5 #F5C164 #64F5C1
tetradic
#C164F5 #F57964 #98F564 #64E0F5
square
#C164F5 #F57964 #98F564 #64E0F5
split-complementary
#C164F5 #E0F564 #64F579
monochromatic
#8B0DD1 #AA2BF1 #C164F5 #D89DF9 #EFD7FC

Accessibility & contrast

On white

3.28
#C164F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C164F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F5#FFFFFF#000000##000000
##C164F51.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89FA
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#BB7FA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c164f5;
/* rgb */ color: rgb(193, 100, 245);
/* oklch */ color: oklch(67.3% 0.217 311.5);
Tailwind
colors: {
  custom: {
    50: '#d794f9',
    500: '#c164f5',
    950: '#000000',
  },
}
SCSS
$custom: #c164f5;
$custom-light: #d794f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f5",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 278.483,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.21735,
    "h": 311.5
  },
  "luminance": 0.27044
}

Semantic roles & 50–950 ramp

primary
#C164F5
secondary
#D4F1C4
accent
#E40153
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C164F5

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

Preview Lab → · Contrast checker → · Palette generator →

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