#C161F6#C161F6

#C161F6 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.9% C 0.223 H 311.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#C161F6
RGBrgb(193, 97, 246)
HSLhsl(279, 89%, 67%)
HSVhsv(279, 61%, 96%)
CMYKcmyk(21.5%, 60.6%, 0%, 3.5%)
CIE-LABlab(58.55, 62.21, -59.19)
CIE-LCHlch(58.55, 85.87, 316.42°)
OKLaboklab(66.94% 0.1477 -0.1665)
OKLCHoklch(66.94% 0.223 311.6)
XYZxyz(42.8985, 26.5417, 90.0341)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161F6 #96F661
analogous
#7761F6 #C161F6 #F661E0
triadic
#C161F6 #F6C161 #61F6C1
tetradic
#C161F6 #F67761 #96F661 #61E0F6
square
#C161F6 #F67761 #96F661 #61E0F6
split-complementary
#C161F6 #E0F661 #61F677
monochromatic
#8B0CD1 #AA27F3 #C161F6 #D89BF9 #EED5FD

Accessibility & contrast

On white

3.33
#C161F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#C161F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161F6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161F6#FFFFFF#000000##000000
##C161F61.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FB
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#BB7DA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c161f6;
/* rgb */ color: rgb(193, 97, 246);
/* oklch */ color: oklch(66.9% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#d793fa',
    500: '#c161f6',
    950: '#000000',
  },
}
SCSS
$custom: #c161f6;
$custom-light: #d793fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c161f6",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 246
  },
  "hsl": {
    "h": 278.658,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6694,
    "c": 0.22255,
    "h": 311.6
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

primary
#C161F6
secondary
#D3F1C2
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C161F6

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

Preview Lab → · Contrast checker → · Palette generator →

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