#C162EB#C162EB

#C162EB is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.4% C 0.210 H 314.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C162EB
RGBrgb(193, 98, 235)
HSLhsl(282, 77%, 65%)
HSVhsv(282, 58%, 92%)
CMYKcmyk(17.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(58.11, 59.45, -53.78)
CIE-LCHlch(58.11, 80.16, 317.87°)
OKLaboklab(66.42% 0.1464 -0.1507)
OKLCHoklch(66.42% 0.21 314.2)
XYZxyz(41.3529, 26.0722, 81.4352)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162EB #8CEB62
analogous
#7C62EB #C162EB #EB62D0
triadic
#C162EB #EBC162 #62EBC1
tetradic
#C162EB #EB7C62 #8CEB62 #62D0EB
square
#C162EB #EB7C62 #8CEB62 #62D0EB
split-complementary
#C162EB #D0EB62 #62EB7C
monochromatic
#8918BB #AC2CE4 #C162EB #D698F2 #ECCFF9

Accessibility & contrast

On white

3.38
#C162EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C162EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162EB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162EB#FFFFFF#000000##000000
##C162EB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#BD7A9D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c162eb;
/* rgb */ color: rgb(193, 98, 235);
/* oklch */ color: oklch(66.4% 0.210 314.2);
Tailwind
colors: {
  custom: {
    50: '#d793f2',
    500: '#c162eb',
    950: '#000000',
  },
}
SCSS
$custom: #c162eb;
$custom-light: #d793f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c162eb",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 281.606,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.21009,
    "h": 314.2
  },
  "luminance": 0.26071
}

Semantic roles & 50–950 ramp

primary
#C162EB
secondary
#CBEBBD
accent
#DA0C4B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162EB

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

Preview Lab → · Contrast checker → · Palette generator →

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