#C164F2#C164F2

#C164F2 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.1% C 0.214 H 312.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C164F2
RGBrgb(193, 100, 242)
HSLhsl(279, 85%, 67%)
HSVhsv(279, 59%, 95%)
CMYKcmyk(20.2%, 58.7%, 0%, 5.1%)
CIE-LABlab(58.85, 59.94, -56.49)
CIE-LCHlch(58.85, 82.37, 316.70°)
OKLaboklab(67.09% 0.1441 -0.1586)
OKLCHoklch(67.09% 0.214 312.2)
XYZxyz(42.5737, 26.8637, 86.9297)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164F2 #95F264
analogous
#7A64F2 #C164F2 #F264DC
triadic
#C164F2 #F2C164 #64F2C1
tetradic
#C164F2 #F27A64 #95F264 #64DCF2
square
#C164F2 #F27A64 #95F264 #64DCF2
split-complementary
#C164F2 #DCF264 #64F27A
monochromatic
#8B11CB #AA2CED #C164F2 #D89CF7 #EED5FB

Accessibility & contrast

On white

3.30
#C164F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C164F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164F2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164F2#FFFFFF#000000##000000
##C164F21.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#BC7EA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c164f2;
/* rgb */ color: rgb(193, 100, 242);
/* oklch */ color: oklch(67.1% 0.214 312.2);
Tailwind
colors: {
  custom: {
    50: '#d794f7',
    500: '#c164f2',
    950: '#000000',
  },
}
SCSS
$custom: #c164f2;
$custom-light: #d794f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c164f2",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 279.296,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.21429,
    "h": 312.2
  },
  "luminance": 0.26863
}

Semantic roles & 50–950 ramp

primary
#C164F2
secondary
#D2EFC2
accent
#E10551
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C164F2

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

Preview Lab → · Contrast checker → · Palette generator →

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