#C162F8#C162F8

#C162F8 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.2% C 0.223 H 311.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C162F8
RGBrgb(193, 98, 248)
HSLhsl(278, 91%, 68%)
HSVhsv(278, 60%, 97%)
CMYKcmyk(22.2%, 60.5%, 0%, 2.7%)
CIE-LABlab(58.84, 62.16, -59.84)
CIE-LCHlch(58.84, 86.28, 316.09°)
OKLaboklab(67.19% 0.1465 -0.1684)
OKLCHoklch(67.19% 0.223 311)
XYZxyz(43.3001, 26.8511, 91.6905)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162F8 #99F862
analogous
#7662F8 #C162F8 #F862E4
triadic
#C162F8 #F8C162 #62F8C1
tetradic
#C162F8 #F87662 #99F862 #62E4F8
square
#C162F8 #F87662 #99F862 #62E4F8
split-complementary
#C162F8 #E4F862 #62F876
monochromatic
#8B0AD6 #AA27F5 #C162F8 #D89DFB #EFD7FD

Accessibility & contrast

On white

3.30
#C162F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C162F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162F8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162F8#FFFFFF#000000##000000
##C162F81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2489FD
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#BA7EA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c162f8;
/* rgb */ color: rgb(193, 98, 248);
/* oklch */ color: oklch(67.2% 0.223 311.0);
Tailwind
colors: {
  custom: {
    50: '#d793fb',
    500: '#c162f8',
    950: '#000000',
  },
}
SCSS
$custom: #c162f8;
$custom-light: #d793fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c162f8",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 278,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.22319,
    "h": 311
  },
  "luminance": 0.2685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C162F8

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

Preview Lab → · Contrast checker → · Palette generator →

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