#C161F8#C161F8

#C161F8 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.1% C 0.225 H 311.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#C161F8
RGBrgb(193, 97, 248)
HSLhsl(278, 92%, 68%)
HSVhsv(278, 61%, 97%)
CMYKcmyk(22.2%, 60.9%, 0%, 2.7%)
CIE-LABlab(58.66, 62.63, -60.11)
CIE-LCHlch(58.66, 86.81, 316.17°)
OKLaboklab(67.06% 0.1476 -0.1692)
OKLCHoklch(67.06% 0.225 311.1)
XYZxyz(43.2071, 26.6651, 91.6595)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161F8 #98F861
analogous
#7661F8 #C161F8 #F861E3
triadic
#C161F8 #F8C161 #61F8C1
tetradic
#C161F8 #F87661 #98F861 #61E3F8
square
#C161F8 #F87661 #98F861 #61E3F8
split-complementary
#C161F8 #E3F861 #61F876
monochromatic
#8B09D5 #AA26F5 #C161F8 #D89CFB #EFD6FD

Accessibility & contrast

On white

3.32
#C161F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#C161F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161F8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161F8#FFFFFF#000000##000000
##C161F81.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2089FD
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#BA7EA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c161f8;
/* rgb */ color: rgb(193, 97, 248);
/* oklch */ color: oklch(67.1% 0.225 311.1);
Tailwind
colors: {
  custom: {
    50: '#d793fb',
    500: '#c161f8',
    950: '#000000',
  },
}
SCSS
$custom: #c161f8;
$custom-light: #d793fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c161f8",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 248
  },
  "hsl": {
    "h": 278.146,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.22457,
    "h": 311.1
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#C161F8
secondary
#D4F2C3
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C161F8

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

Preview Lab → · Contrast checker → · Palette generator →

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