#C161F4#C161F4

#C161F4 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.8% C 0.221 H 312.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#C161F4
RGBrgb(193, 97, 244)
HSLhsl(279, 87%, 67%)
HSVhsv(279, 60%, 96%)
CMYKcmyk(20.9%, 60.2%, 0%, 4.3%)
CIE-LABlab(58.43, 61.79, -58.26)
CIE-LCHlch(58.43, 84.93, 316.68°)
OKLaboklab(66.82% 0.1477 -0.1638)
OKLCHoklch(66.82% 0.221 312)
XYZxyz(42.5932, 26.4196, 88.4262)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161F4 #94F461
analogous
#7861F4 #C161F4 #F461DD
triadic
#C161F4 #F4C161 #61F4C1
tetradic
#C161F4 #F47861 #94F461 #61DDF4
square
#C161F4 #F47861 #94F461 #61DDF4
split-complementary
#C161F4 #DDF461 #61F478
monochromatic
#8A0ECC #AB28F0 #C161F4 #D79AF8 #EED3FC

Accessibility & contrast

On white

3.34
#C161F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#C161F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161F4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161F4#FFFFFF#000000##000000
##C161F41.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988F9
Deuteranopia (green-blind)
#568FF0
Tritanopia (blue-blind)
#BB7CA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c161f4;
/* rgb */ color: rgb(193, 97, 244);
/* oklch */ color: oklch(66.8% 0.221 312.0);
Tailwind
colors: {
  custom: {
    50: '#d793f8',
    500: '#c161f4',
    950: '#000000',
  },
}
SCSS
$custom: #c161f4;
$custom-light: #d793f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c161f4",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 244
  },
  "hsl": {
    "h": 279.184,
    "s": 86.982,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.22055,
    "h": 312
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

primary
#C161F4
secondary
#D1F0C1
accent
#E40250
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C161F4

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

Preview Lab → · Contrast checker → · Palette generator →

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