#C162BF#C162BF

#C162BF is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.1% C 0.168 H 328.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C162BF
RGBrgb(193, 98, 191)
HSLhsl(301, 43%, 57%)
HSVhsv(301, 49%, 76%)
CMYKcmyk(0%, 49.2%, 1%, 24.3%)
CIE-LABlab(55.92, 50.95, -32.32)
CIE-LCHlch(55.92, 60.34, 327.61°)
OKLaboklab(64.11% 0.1422 -0.0886)
OKLCHoklch(64.11% 0.168 328.1)
XYZxyz(35.7634, 23.8364, 51.9973)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162BF #62C164
analogous
#9462C1 #C162BF #C16290
triadic
#C162BF #BFC162 #62BFC1
tetradic
#C162BF #C19462 #62C164 #6290C1
square
#C162BF #C19462 #62C164 #6290C1
split-complementary
#C162BF #90C162 #62C194
monochromatic
#793077 #A541A3 #C162BF #D28ED1 #E4BAE3

Accessibility & contrast

On white

3.64
#C162BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C162BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162BF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162BF#FFFFFF#000000##000000
##C162BF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#768BBC
Tritanopia (blue-blind)
#C66C88
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c162bf;
/* rgb */ color: rgb(193, 98, 191);
/* oklch */ color: oklch(64.1% 0.168 328.1);
Tailwind
colors: {
  custom: {
    50: '#d692d2',
    500: '#c162bf',
    950: '#000000',
  },
}
SCSS
$custom: #c162bf;
$custom-light: #d692d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c162bf",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 301.263,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.16756,
    "h": 328.1
  },
  "luminance": 0.23834
}

Semantic roles & 50–950 ramp

primary
#C162BF
secondary
#ACD3AD
accent
#D35755
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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