#C161F2#C161F2

#C161F2 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.7% C 0.219 H 312.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#C161F2
RGBrgb(193, 97, 242)
HSLhsl(280, 85%, 66%)
HSVhsv(280, 60%, 95%)
CMYKcmyk(20.2%, 59.9%, 0%, 5.1%)
CIE-LABlab(58.32, 61.37, -57.33)
CIE-LCHlch(58.32, 83.99, 316.95°)
OKLaboklab(66.7% 0.1477 -0.1611)
OKLCHoklch(66.7% 0.219 312.5)
XYZxyz(42.2912, 26.2987, 86.8355)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161F2 #92F261
analogous
#7961F2 #C161F2 #F261DB
triadic
#C161F2 #F2C161 #61F2C1
tetradic
#C161F2 #F27961 #92F261 #61DBF2
square
#C161F2 #F27961 #92F261 #61DBF2
split-complementary
#C161F2 #DBF261 #61F279
monochromatic
#8A10C8 #AB28ED #C161F2 #D79AF7 #EDD2FB

Accessibility & contrast

On white

3.35
#C161F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#C161F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161F2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161F2#FFFFFF#000000##000000
##C161F21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F7
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#BC7CA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c161f2;
/* rgb */ color: rgb(193, 97, 242);
/* oklch */ color: oklch(66.7% 0.219 312.5);
Tailwind
colors: {
  custom: {
    50: '#d793f7',
    500: '#c161f2',
    950: '#000000',
  },
}
SCSS
$custom: #c161f2;
$custom-light: #d793f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c161f2",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 279.724,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.21854,
    "h": 312.5
  },
  "luminance": 0.26298
}

Semantic roles & 50–950 ramp

primary
#C161F2
secondary
#D0EFC0
accent
#E1044F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C161F2

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

Preview Lab → · Contrast checker → · Palette generator →

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