#C162FD#C162FD

#C162FD is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.5% C 0.228 H 309.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C162FD
RGBrgb(193, 98, 253)
HSLhsl(277, 97%, 69%)
HSVhsv(277, 61%, 99%)
CMYKcmyk(23.7%, 61.3%, 0%, 0.8%)
CIE-LABlab(59.13, 63.22, -62.14)
CIE-LCHlch(59.13, 88.64, 315.49°)
OKLaboklab(67.49% 0.1464 -0.1752)
OKLCHoklch(67.49% 0.228 309.9)
XYZxyz(44.0862, 27.1655, 95.8305)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162FD #9EFD62
analogous
#7462FD #C162FD #FD62EC
triadic
#C162FD #FDC162 #62FDC1
tetradic
#C162FD #FD7462 #9EFD62 #62ECFD
square
#C162FD #FD7462 #9EFD62 #62ECFD
split-complementary
#C162FD #ECFD62 #62FD74
monochromatic
#8B03E2 #A926FC #C162FD #D99EFE #F1DBFF

Accessibility & contrast

On white

3.26
#C162FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C162FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162FD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162FD#FFFFFF#000000##000000
##C162FD1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#178AFF
Deuteranopia (green-blind)
#4E90F9
Tritanopia (blue-blind)
#B980A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c162fd;
/* rgb */ color: rgb(193, 98, 253);
/* oklch */ color: oklch(67.5% 0.228 309.9);
Tailwind
colors: {
  custom: {
    50: '#d893ff',
    500: '#c162fd',
    950: '#000000',
  },
}
SCSS
$custom: #c162fd;
$custom-light: #d893ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c162fd",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 276.774,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67491,
    "c": 0.22825,
    "h": 309.9
  },
  "luminance": 0.27165
}

Semantic roles & 50–950 ramp

primary
#C162FD
secondary
#D8F4C6
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C162FD

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

Preview Lab → · Contrast checker → · Palette generator →

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