#C162F4#C162F4

#C162F4 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.9% C 0.219 H 311.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#C162F4
RGBrgb(193, 98, 244)
HSLhsl(279, 87%, 67%)
HSVhsv(279, 60%, 96%)
CMYKcmyk(20.9%, 59.8%, 0%, 4.3%)
CIE-LABlab(58.61, 61.32, -57.98)
CIE-LCHlch(58.61, 84.39, 316.60°)
OKLaboklab(66.95% 0.1465 -0.163)
OKLCHoklch(66.95% 0.219 311.9)
XYZxyz(42.6862, 26.6055, 88.4572)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162F4 #95F462
analogous
#7862F4 #C162F4 #F462DE
triadic
#C162F4 #F4C162 #62F4C1
tetradic
#C162F4 #F47862 #95F462 #62DEF4
square
#C162F4 #F47862 #95F462 #62DEF4
split-complementary
#C162F4 #DEF462 #62F478
monochromatic
#8B0ECD #AA29F0 #C162F4 #D89BF8 #EED4FC

Accessibility & contrast

On white

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

On black

6.32
#C162F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162F4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162F4#FFFFFF#000000##000000
##C162F41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F9
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#BB7DA2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c162f4;
/* rgb */ color: rgb(193, 98, 244);
/* oklch */ color: oklch(66.9% 0.219 311.9);
Tailwind
colors: {
  custom: {
    50: '#d793f8',
    500: '#c162f4',
    950: '#000000',
  },
}
SCSS
$custom: #c162f4;
$custom-light: #d793f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c162f4",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 279.041,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66947,
    "c": 0.21915,
    "h": 311.9
  },
  "luminance": 0.26604
}

Semantic roles & 50–950 ramp

primary
#C162F4
secondary
#D2F0C2
accent
#E30251
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162F4

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

Preview Lab → · Contrast checker → · Palette generator →

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