#C162F5#C162F5

#C162F5 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.0% C 0.220 H 311.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#C162F5
RGBrgb(193, 98, 245)
HSLhsl(279, 88%, 67%)
HSVhsv(279, 60%, 96%)
CMYKcmyk(21.2%, 60%, 0%, 3.9%)
CIE-LABlab(58.66, 61.53, -58.45)
CIE-LCHlch(58.66, 84.86, 316.47°)
OKLaboklab(67.01% 0.1465 -0.1644)
OKLCHoklch(67.01% 0.22 311.7)
XYZxyz(42.8384, 26.6664, 89.2590)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162F5 #96F562
analogous
#7862F5 #C162F5 #F562DF
triadic
#C162F5 #F5C162 #62F5C1
tetradic
#C162F5 #F57862 #96F562 #62DFF5
square
#C162F5 #F57862 #96F562 #62DFF5
split-complementary
#C162F5 #DFF562 #62F578
monochromatic
#8B0DCF #AA28F1 #C162F5 #D89CF9 #EED5FC

Accessibility & contrast

On white

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

On black

6.33
#C162F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162F5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162F5#FFFFFF#000000##000000
##C162F51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88FA
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#BB7DA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c162f5;
/* rgb */ color: rgb(193, 98, 245);
/* oklch */ color: oklch(67.0% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#d793f9',
    500: '#c162f5',
    950: '#000000',
  },
}
SCSS
$custom: #c162f5;
$custom-light: #d793f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c162f5",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 278.776,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67006,
    "c": 0.22016,
    "h": 311.7
  },
  "luminance": 0.26665
}

Semantic roles & 50–950 ramp

primary
#C162F5
secondary
#D3F1C2
accent
#E50151
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162F5

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

Preview Lab → · Contrast checker → · Palette generator →

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