#C162DE#C162DE

#C162DE is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.197 H 317.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C162DE
RGBrgb(193, 98, 222)
HSLhsl(286, 65%, 63%)
HSVhsv(286, 56%, 87%)
CMYKcmyk(13.1%, 55.9%, 0%, 12.9%)
CIE-LABlab(57.41, 56.83, -47.59)
CIE-LCHlch(57.41, 74.12, 320.06°)
OKLaboklab(65.69% 0.1458 -0.1326)
OKLCHoklch(65.69% 0.197 317.7)
XYZxyz(39.5430, 25.3482, 71.9028)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162DE #7FDE62
analogous
#8362DE #C162DE #DE62BD
triadic
#C162DE #DEC162 #62DEC1
tetradic
#C162DE #DE8362 #7FDE62 #62BDDE
square
#C162DE #DE8362 #7FDE62 #62BDDE
split-complementary
#C162DE #BDDE62 #62DE83
monochromatic
#8522A3 #AD2FD3 #C162DE #D595E9 #E9C7F3

Accessibility & contrast

On white

3.46
#C162DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C162DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162DE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162DE#FFFFFF#000000##000000
##C162DE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#C07697
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c162de;
/* rgb */ color: rgb(193, 98, 222);
/* oklch */ color: oklch(65.7% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#d693e9',
    500: '#c162de',
    950: '#000000',
  },
}
SCSS
$custom: #c162de;
$custom-light: #d693e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c162de",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 285.968,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.19712,
    "h": 317.7
  },
  "luminance": 0.25347
}

Semantic roles & 50–950 ramp

primary
#C162DE
secondary
#C2E4B7
accent
#CD1843
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162DE

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

Preview Lab → · Contrast checker → · Palette generator →

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