#C168EE#C168EE

#C168EE is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.4% C 0.204 H 312.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#C168EE
RGBrgb(193, 104, 238)
HSLhsl(280, 80%, 67%)
HSVhsv(280, 56%, 93%)
CMYKcmyk(18.9%, 56.3%, 0%, 6.7%)
CIE-LABlab(59.35, 57.16, -53.46)
CIE-LCHlch(59.35, 78.26, 316.92°)
OKLaboklab(67.38% 0.139 -0.1498)
OKLCHoklch(67.38% 0.204 312.9)
XYZxyz(42.3726, 27.4122, 83.9313)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168EE #95EE68
analogous
#7E68EE #C168EE #EE68D8
triadic
#C168EE #EEC168 #68EEC1
tetradic
#C168EE #EE7E68 #95EE68 #68D8EE
square
#C168EE #EE7E68 #95EE68 #68D8EE
split-complementary
#C168EE #D8EE68 #68EE7E
monochromatic
#8B16C5 #AA31E8 #C168EE #D89FF4 #EED6FA

Accessibility & contrast

On white

3.24
#C168EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#C168EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168EE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168EE#FFFFFF#000000##000000
##C168EE1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#BD7FA1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c168ee;
/* rgb */ color: rgb(193, 104, 238);
/* oklch */ color: oklch(67.4% 0.204 312.9);
Tailwind
colors: {
  custom: {
    50: '#d797f4',
    500: '#c168ee',
    950: '#000000',
  },
}
SCSS
$custom: #c168ee;
$custom-light: #d797f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c168ee",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 279.851,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.20438,
    "h": 312.9
  },
  "luminance": 0.27411
}

Semantic roles & 50–950 ramp

primary
#C168EE
secondary
#D2EEC4
accent
#DC0950
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C168EE

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

Preview Lab → · Contrast checker → · Palette generator →

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