#C168FF#C168FF

#C168FF is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.4% C 0.222 H 308.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#C168FF
RGBrgb(193, 104, 255)
HSLhsl(275, 100%, 70%)
HSVhsv(275, 59%, 100%)
CMYKcmyk(24.3%, 59.2%, 0%, 0%)
CIE-LABlab(60.30, 60.78, -61.36)
CIE-LCHlch(60.30, 86.37, 314.73°)
OKLaboklab(68.38% 0.1393 -0.1729)
OKLCHoklch(68.38% 0.222 308.9)
XYZxyz(44.9891, 28.4588, 97.7114)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168FF #A6FF68
analogous
#7568FF #C168FF #FF68F2
triadic
#C168FF #FFC168 #68FFC1
tetradic
#C168FF #FF7568 #A6FF68 #68F2FF
square
#C168FF #FF7568 #A6FF68 #68F2FF
split-complementary
#C168FF #F2FF68 #68FF75
monochromatic
#8B00ED #A82BFF #C168FF #DAA5FF #F2E0FF

Accessibility & contrast

On white

3.14
#C168FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#C168FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168FF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168FF#FFFFFF#000000##000000
##C168FF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#298EFF
Deuteranopia (green-blind)
#5393FB
Tritanopia (blue-blind)
#B885AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c168ff;
/* rgb */ color: rgb(193, 104, 255);
/* oklch */ color: oklch(68.4% 0.222 308.9);
Tailwind
colors: {
  custom: {
    50: '#d797ff',
    500: '#c168ff',
    950: '#000000',
  },
}
SCSS
$custom: #c168ff;
$custom-light: #d797ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c168ff",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 275.364,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68381,
    "c": 0.22204,
    "h": 308.9
  },
  "luminance": 0.28458
}

Semantic roles & 50–950 ramp

primary
#C168FF
secondary
#DEF6CD
accent
#E6005E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C168FF

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

Preview Lab → · Contrast checker → · Palette generator →

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