#C162FE#C162FE

#C162FE is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.6% C 0.229 H 309.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C162FE
RGBrgb(193, 98, 254)
HSLhsl(277, 99%, 69%)
HSVhsv(277, 61%, 100%)
CMYKcmyk(24%, 61.4%, 0%, 0.4%)
CIE-LABlab(59.19, 63.43, -62.59)
CIE-LCHlch(59.19, 89.11, 315.38°)
OKLaboklab(67.55% 0.1463 -0.1765)
OKLCHoklch(67.55% 0.229 309.7)
XYZxyz(44.2459, 27.2294, 96.6717)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162FE #9FFE62
analogous
#7362FE #C162FE #FE62ED
triadic
#C162FE #FEC162 #62FEC1
tetradic
#C162FE #FE7362 #9FFE62 #62EDFE
square
#C162FE #FE7362 #9FFE62 #62EDFE
split-complementary
#C162FE #EDFE62 #62FE73
monochromatic
#8C01E4 #A925FE #C162FE #D99FFE #F1DCFF

Accessibility & contrast

On white

3.26
#C162FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C162FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162FE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162FE#FFFFFF#000000##000000
##C162FE1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#138AFF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#B981A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c162fe;
/* rgb */ color: rgb(193, 98, 254);
/* oklch */ color: oklch(67.6% 0.229 309.7);
Tailwind
colors: {
  custom: {
    50: '#d893ff',
    500: '#c162fe',
    950: '#000000',
  },
}
SCSS
$custom: #c162fe;
$custom-light: #d893ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c162fe",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 276.538,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67553,
    "c": 0.22926,
    "h": 309.7
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#C162FE
secondary
#D9F5C7
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C162FE

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

Preview Lab → · Contrast checker → · Palette generator →

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