#C161F3#C161F3

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

Color values

HEX#C161F3
RGBrgb(193, 97, 243)
HSLhsl(279, 86%, 67%)
HSVhsv(279, 60%, 95%)
CMYKcmyk(20.6%, 60.1%, 0%, 4.7%)
CIE-LABlab(58.38, 61.58, -57.80)
CIE-LCHlch(58.38, 84.46, 316.81°)
OKLaboklab(66.76% 0.1477 -0.1624)
OKLCHoklch(66.76% 0.22 312.3)
XYZxyz(42.4418, 26.3590, 87.6287)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161F3 #93F361
analogous
#7861F3 #C161F3 #F361DC
triadic
#C161F3 #F3C161 #61F3C1
tetradic
#C161F3 #F37861 #93F361 #61DCF3
square
#C161F3 #F37861 #93F361 #61DCF3
split-complementary
#C161F3 #DCF361 #61F378
monochromatic
#8A0FCA #AB28EF #C161F3 #D79AF7 #EED3FC

Accessibility & contrast

On white

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

On black

6.27
#C161F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161F3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161F3#FFFFFF#000000##000000
##C161F31.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c161f3;
/* rgb */ color: rgb(193, 97, 243);
/* oklch */ color: oklch(66.8% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#d793f8',
    500: '#c161f3',
    950: '#000000',
  },
}
SCSS
$custom: #c161f3;
$custom-light: #d793f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c161f3",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 243
  },
  "hsl": {
    "h": 279.452,
    "s": 85.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.21954,
    "h": 312.3
  },
  "luminance": 0.26358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C161F3

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

Preview Lab → · Contrast checker → · Palette generator →

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