#C162BA#C162BA

#C162BA is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.163 H 330.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C162BA
RGBrgb(193, 98, 186)
HSLhsl(304, 43%, 57%)
HSVhsv(304, 49%, 76%)
CMYKcmyk(0%, 49.2%, 3.6%, 24.3%)
CIE-LABlab(55.71, 50.07, -29.79)
CIE-LCHlch(55.71, 58.26, 329.25°)
OKLaboklab(63.88% 0.1414 -0.0813)
OKLCHoklch(63.88% 0.163 330.1)
XYZxyz(35.2226, 23.6201, 49.1487)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162BA #62C169
analogous
#9962C1 #C162BA #C1628B
triadic
#C162BA #BAC162 #62BAC1
tetradic
#C162BA #C19962 #62C169 #628BC1
square
#C162BA #C19962 #62C169 #628BC1
split-complementary
#C162BA #8BC162 #62C199
monochromatic
#793073 #A5419D #C162BA #D28ECD #E4BAE1

Accessibility & contrast

On white

3.67
#C162BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C162BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162BA#FFFFFF#000000##000000
##C162BA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#C76A85
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c162ba;
/* rgb */ color: rgb(193, 98, 186);
/* oklch */ color: oklch(63.9% 0.163 330.1);
Tailwind
colors: {
  custom: {
    50: '#d692cf',
    500: '#c162ba',
    950: '#000000',
  },
}
SCSS
$custom: #c162ba;
$custom-light: #d692cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ba",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 304.421,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.1631,
    "h": 330.1
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#C162BA
secondary
#ACD3AF
accent
#D35E55
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #C162BA

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

Preview Lab → · Contrast checker → · Palette generator →

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