#C162F6#C162F6

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

Color values

HEX#C162F6
RGBrgb(193, 98, 246)
HSLhsl(279, 89%, 67%)
HSVhsv(279, 60%, 96%)
CMYKcmyk(21.5%, 60.2%, 0%, 3.5%)
CIE-LABlab(58.72, 61.74, -58.91)
CIE-LCHlch(58.72, 85.34, 316.34°)
OKLaboklab(67.07% 0.1465 -0.1657)
OKLCHoklch(67.07% 0.221 311.5)
XYZxyz(42.9915, 26.7276, 90.0651)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162F6 #97F662
analogous
#7762F6 #C162F6 #F662E1
triadic
#C162F6 #F6C162 #62F6C1
tetradic
#C162F6 #F67762 #97F662 #62E1F6
square
#C162F6 #F67762 #97F662 #62E1F6
split-complementary
#C162F6 #E1F662 #62F677
monochromatic
#8B0CD2 #AA28F3 #C162F6 #D89CF9 #EFD6FD

Accessibility & contrast

On white

3.31
#C162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162F6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162F6#FFFFFF#000000##000000
##C162F61.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#BB7EA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c162f6;
/* rgb */ color: rgb(193, 98, 246);
/* oklch */ color: oklch(67.1% 0.221 311.5);
Tailwind
colors: {
  custom: {
    50: '#d793fa',
    500: '#c162f6',
    950: '#000000',
  },
}
SCSS
$custom: #c162f6;
$custom-light: #d793fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c162f6",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 278.514,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67066,
    "c": 0.22116,
    "h": 311.5
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#C162F6
secondary
#D3F1C3
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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