#C162F1#C162F1

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

Color values

HEX#C162F1
RGBrgb(193, 98, 241)
HSLhsl(280, 84%, 66%)
HSVhsv(280, 59%, 95%)
CMYKcmyk(19.9%, 59.3%, 0%, 5.5%)
CIE-LABlab(58.44, 60.69, -56.59)
CIE-LCHlch(58.44, 82.98, 317.00°)
OKLaboklab(66.77% 0.1465 -0.1589)
OKLCHoklch(66.77% 0.216 312.7)
XYZxyz(42.2344, 26.4248, 86.0777)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162F1 #92F162
analogous
#7A62F1 #C162F1 #F162DA
triadic
#C162F1 #F1C162 #62F1C1
tetradic
#C162F1 #F17A62 #92F162 #62DAF1
square
#C162F1 #F17A62 #92F162 #62DAF1
split-complementary
#C162F1 #DAF162 #62F17A
monochromatic
#8A12C7 #AB2AEC #C162F1 #D79AF6 #EDD2FB

Accessibility & contrast

On white

3.34
#C162F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#C162F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162F1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162F1#FFFFFF#000000##000000
##C162F11.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#BC7CA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c162f1;
/* rgb */ color: rgb(193, 98, 241);
/* oklch */ color: oklch(66.8% 0.216 312.7);
Tailwind
colors: {
  custom: {
    50: '#d793f6',
    500: '#c162f1',
    950: '#000000',
  },
}
SCSS
$custom: #c162f1;
$custom-light: #d793f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c162f1",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 279.86,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.21612,
    "h": 312.7
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C162F1

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

Preview Lab → · Contrast checker → · Palette generator →

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