#C162DF#C162DF

#C162DF is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.198 H 317.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#C162DF
RGBrgb(193, 98, 223)
HSLhsl(286, 66%, 63%)
HSVhsv(286, 56%, 87%)
CMYKcmyk(13.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(57.47, 57.02, -48.07)
CIE-LCHlch(57.47, 74.58, 319.87°)
OKLaboklab(65.74% 0.1459 -0.134)
OKLCHoklch(65.74% 0.198 317.4)
XYZxyz(39.6774, 25.4020, 72.6108)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162DF #80DF62
analogous
#8262DF #C162DF #DF62BE
triadic
#C162DF #DFC162 #62DFC1
tetradic
#C162DF #DF8262 #80DF62 #62BEDF
square
#C162DF #DF8262 #80DF62 #62BEDF
split-complementary
#C162DF #BEDF62 #62DF82
monochromatic
#8522A5 #AD2FD5 #C162DF #D595E9 #E9C8F4

Accessibility & contrast

On white

3.45
#C162DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#C162DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162DF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162DF#FFFFFF#000000##000000
##C162DF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#668DDC
Tritanopia (blue-blind)
#C07697
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c162df;
/* rgb */ color: rgb(193, 98, 223);
/* oklch */ color: oklch(65.7% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#d693e9',
    500: '#c162df',
    950: '#000000',
  },
}
SCSS
$custom: #c162df;
$custom-light: #d693e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c162df",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 285.6,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65744,
    "c": 0.19812,
    "h": 317.4
  },
  "luminance": 0.25401
}

Semantic roles & 50–950 ramp

primary
#C162DF
secondary
#C3E5B8
accent
#CE1743
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162DF

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

Preview Lab → · Contrast checker → · Palette generator →

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