#C162F9#C162F9

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

Color values

HEX#C162F9
RGBrgb(193, 98, 249)
HSLhsl(278, 93%, 68%)
HSVhsv(278, 61%, 98%)
CMYKcmyk(22.5%, 60.6%, 0%, 2.4%)
CIE-LABlab(58.89, 62.37, -60.30)
CIE-LCHlch(58.89, 86.75, 315.97°)
OKLaboklab(67.25% 0.1464 -0.1698)
OKLCHoklch(67.25% 0.224 310.8)
XYZxyz(43.4557, 26.9133, 92.5098)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162F9 #9AF962
analogous
#7562F9 #C162F9 #F962E6
triadic
#C162F9 #F9C162 #62F9C1
tetradic
#C162F9 #F97562 #9AF962 #62E6F9
square
#C162F9 #F97562 #9AF962 #62E6F9
split-complementary
#C162F9 #E6F962 #62F975
monochromatic
#8B08D8 #AA27F7 #C162F9 #D89DFB #F0D8FE

Accessibility & contrast

On white

3.29
#C162F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#C162F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162F9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162F9#FFFFFF#000000##000000
##C162F91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#BA7FA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c162f9;
/* rgb */ color: rgb(193, 98, 249);
/* oklch */ color: oklch(67.2% 0.224 310.8);
Tailwind
colors: {
  custom: {
    50: '#d793fc',
    500: '#c162f9',
    950: '#000000',
  },
}
SCSS
$custom: #c162f9;
$custom-light: #d793fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c162f9",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 277.748,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.2242,
    "h": 310.8
  },
  "luminance": 0.26912
}

Semantic roles & 50–950 ramp

primary
#C162F9
secondary
#D5F2C4
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C162F9

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

Preview Lab → · Contrast checker → · Palette generator →

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