#C162D7#C162D7

#C162D7 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.190 H 319.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#C162D7
RGBrgb(193, 98, 215)
HSLhsl(289, 59%, 61%)
HSVhsv(289, 54%, 84%)
CMYKcmyk(10.2%, 54.4%, 0%, 15.7%)
CIE-LABlab(57.06, 55.45, -44.21)
CIE-LCHlch(57.06, 70.91, 321.44°)
OKLaboklab(65.31% 0.1453 -0.1228)
OKLCHoklch(65.31% 0.19 319.8)
XYZxyz(38.6242, 24.9807, 67.0640)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162D7 #78D762
analogous
#8762D7 #C162D7 #D762B3
triadic
#C162D7 #D7C162 #62D7C1
tetradic
#C162D7 #D78762 #78D762 #62B3D7
square
#C162D7 #D78762 #78D762 #62B3D7
split-complementary
#C162D7 #B3D762 #62D787
monochromatic
#832798 #AD33C9 #C162D7 #D493E3 #E8C4F0

Accessibility & contrast

On white

3.50
#C162D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#C162D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162D7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162D7#FFFFFF#000000##000000
##C162D71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#6B8CD4
Tritanopia (blue-blind)
#C27393
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c162d7;
/* rgb */ color: rgb(193, 98, 215);
/* oklch */ color: oklch(65.3% 0.190 319.8);
Tailwind
colors: {
  custom: {
    50: '#d693e4',
    500: '#c162d7',
    950: '#000000',
  },
}
SCSS
$custom: #c162d7;
$custom-light: #d693e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c162d7",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 288.718,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.19024,
    "h": 319.8
  },
  "luminance": 0.24979
}

Semantic roles & 50–950 ramp

primary
#C162D7
secondary
#BDE0B5
accent
#C71E3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #C162D7

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

Preview Lab → · Contrast checker → · Palette generator →

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