#C162DB#C162DB

#C162DB is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.194 H 318.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C162DB
RGBrgb(193, 98, 219)
HSLhsl(287, 63%, 62%)
HSVhsv(287, 55%, 86%)
CMYKcmyk(11.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(57.26, 56.23, -46.14)
CIE-LCHlch(57.26, 72.74, 320.63°)
OKLaboklab(65.53% 0.1456 -0.1284)
OKLCHoklch(65.53% 0.194 318.6)
XYZxyz(39.1445, 25.1888, 69.8041)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162DB #7CDB62
analogous
#8462DB #C162DB #DB62B9
triadic
#C162DB #DBC162 #62DBC1
tetradic
#C162DB #DB8462 #7CDB62 #62B9DB
square
#C162DB #DB8462 #7CDB62 #62B9DB
split-complementary
#C162DB #B9DB62 #62DB84
monochromatic
#84249E #AD30D0 #C162DB #D594E6 #E8C6F2

Accessibility & contrast

On white

3.48
#C162DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C162DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162DB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162DB#FFFFFF#000000##000000
##C162DB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#C17595
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c162db;
/* rgb */ color: rgb(193, 98, 219);
/* oklch */ color: oklch(65.5% 0.194 318.6);
Tailwind
colors: {
  custom: {
    50: '#d693e6',
    500: '#c162db',
    950: '#000000',
  },
}
SCSS
$custom: #c162db;
$custom-light: #d693e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c162db",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 287.107,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.19417,
    "h": 318.6
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#C162DB
secondary
#C0E3B6
accent
#CA1B41
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162DB

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

Preview Lab → · Contrast checker → · Palette generator →

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