#C162FF#C162FF

#C162FF is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.6% C 0.230 H 309.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#C162FF
RGBrgb(193, 98, 255)
HSLhsl(276, 100%, 69%)
HSVhsv(276, 62%, 100%)
CMYKcmyk(24.3%, 61.6%, 0%, 0%)
CIE-LABlab(59.25, 63.64, -63.05)
CIE-LCHlch(59.25, 89.59, 315.27°)
OKLaboklab(67.61% 0.1463 -0.1778)
OKLCHoklch(67.61% 0.23 309.4)
XYZxyz(44.4065, 27.2936, 97.5172)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162FF #A0FF62
analogous
#7362FF #C162FF #FF62EE
triadic
#C162FF #FFC162 #62FFC1
tetradic
#C162FF #FF7362 #A0FF62 #62EEFF
square
#C162FF #FF7362 #A0FF62 #62EEFF
split-complementary
#C162FF #EEFF62 #62FF73
monochromatic
#8C00E7 #A925FF #C162FF #D99FFF #F1DCFF

Accessibility & contrast

On white

3.25
#C162FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#C162FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162FF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162FF#FFFFFF#000000##000000
##C162FF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F8BFF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#B881A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c162ff;
/* rgb */ color: rgb(193, 98, 255);
/* oklch */ color: oklch(67.6% 0.230 309.4);
Tailwind
colors: {
  custom: {
    50: '#d894ff',
    500: '#c162ff',
    950: '#000000',
  },
}
SCSS
$custom: #c162ff;
$custom-light: #d894ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ff",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 276.306,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67614,
    "c": 0.23028,
    "h": 309.4
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#C162FF
secondary
#DAF5C8
accent
#E6005B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C162FF

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

Preview Lab → · Contrast checker → · Palette generator →

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