#C162D2#C162D2

#C162D2 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.0% C 0.185 H 321.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#C162D2
RGBrgb(193, 98, 210)
HSLhsl(291, 55%, 60%)
HSVhsv(291, 53%, 82%)
CMYKcmyk(8.1%, 53.3%, 0%, 17.6%)
CIE-LABlab(56.81, 54.48, -41.77)
CIE-LCHlch(56.81, 68.65, 322.53°)
OKLaboklab(65.05% 0.1448 -0.1157)
OKLCHoklch(65.05% 0.185 321.4)
XYZxyz(37.9915, 24.7277, 63.7320)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162D2 #73D262
analogous
#8962D2 #C162D2 #D262AB
triadic
#C162D2 #D2C162 #62D2C1
tetradic
#C162D2 #D28962 #73D262 #62ABD2
square
#C162D2 #D28962 #73D262 #62ABD2
split-complementary
#C162D2 #ABD262 #62D289
monochromatic
#812990 #AB37C0 #C162D2 #D492E0 #E7C1ED

Accessibility & contrast

On white

3.53
#C162D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#C162D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162D2#FFFFFF#000000##000000
##C162D21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D6
Deuteranopia (green-blind)
#6D8CCF
Tritanopia (blue-blind)
#C37291
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c162d2;
/* rgb */ color: rgb(193, 98, 210);
/* oklch */ color: oklch(65.0% 0.185 321.4);
Tailwind
colors: {
  custom: {
    50: '#d693e0',
    500: '#c162d2',
    950: '#000000',
  },
}
SCSS
$custom: #c162d2;
$custom-light: #d693e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c162d2",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 290.893,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6505,
    "c": 0.18539,
    "h": 321.4
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#C162D2
secondary
#B9DDB3
accent
#C3233B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162D2

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

Preview Lab → · Contrast checker → · Palette generator →

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