#C168EF#C168EF

#C168EF is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.4% C 0.205 H 312.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C168EF
RGBrgb(193, 104, 239)
HSLhsl(280, 81%, 67%)
HSVhsv(280, 56%, 94%)
CMYKcmyk(19.2%, 56.5%, 0%, 6.3%)
CIE-LABlab(59.41, 57.37, -53.93)
CIE-LCHlch(59.41, 78.74, 316.77°)
OKLaboklab(67.44% 0.1391 -0.1512)
OKLCHoklch(67.44% 0.205 312.6)
XYZxyz(42.5199, 27.4711, 84.7072)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168EF #96EF68
analogous
#7E68EF #C168EF #EF68D9
triadic
#C168EF #EFC168 #68EFC1
tetradic
#C168EF #EF7E68 #96EF68 #68D9EF
square
#C168EF #EF7E68 #96EF68 #68D9EF
split-complementary
#C168EF #D9EF68 #68EF7E
monochromatic
#8B15C7 #AA31E9 #C168EF #D89FF5 #EED7FB

Accessibility & contrast

On white

3.23
#C168EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C168EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168EF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168EF#FFFFFF#000000##000000
##C168EF1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#BC80A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c168ef;
/* rgb */ color: rgb(193, 104, 239);
/* oklch */ color: oklch(67.4% 0.205 312.6);
Tailwind
colors: {
  custom: {
    50: '#d797f5',
    500: '#c168ef',
    950: '#000000',
  },
}
SCSS
$custom: #c168ef;
$custom-light: #d797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c168ef",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 279.556,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.20542,
    "h": 312.6
  },
  "luminance": 0.2747
}

Semantic roles & 50–950 ramp

primary
#C168EF
secondary
#D3EFC4
accent
#DD0851
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C168EF

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

Preview Lab → · Contrast checker → · Palette generator →

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