#C168FC#C168FC

#C168FC is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.2% C 0.219 H 309.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#C168FC
RGBrgb(193, 104, 252)
HSLhsl(276, 96%, 70%)
HSVhsv(276, 59%, 99%)
CMYKcmyk(23.4%, 58.7%, 0%, 1.2%)
CIE-LABlab(60.13, 60.13, -59.98)
CIE-LCHlch(60.13, 84.93, 315.07°)
OKLaboklab(68.2% 0.1393 -0.1689)
OKLCHoklch(68.2% 0.219 309.5)
XYZxyz(44.5099, 28.2672, 95.1879)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168FC #A3FC68
analogous
#7768FC #C168FC #FC68ED
triadic
#C168FC #FCC168 #68FCC1
tetradic
#C168FC #FC7768 #A3FC68 #68EDFC
square
#C168FC #FC7768 #A3FC68 #68EDFC
split-complementary
#C168FC #EDFC68 #68FC77
monochromatic
#8C05E5 #A82CFB #C168FC #DAA4FD #F2E0FE

Accessibility & contrast

On white

3.16
#C168FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#C168FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168FC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168FC#FFFFFF#000000##000000
##C168FC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#B984A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c168fc;
/* rgb */ color: rgb(193, 104, 252);
/* oklch */ color: oklch(68.2% 0.219 309.5);
Tailwind
colors: {
  custom: {
    50: '#d797fe',
    500: '#c168fc',
    950: '#000000',
  },
}
SCSS
$custom: #c168fc;
$custom-light: #d797fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c168fc",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 276.081,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68201,
    "c": 0.21891,
    "h": 309.5
  },
  "luminance": 0.28266
}

Semantic roles & 50–950 ramp

primary
#C168FC
secondary
#DCF5CB
accent
#E6005B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C168FC

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

Preview Lab → · Contrast checker → · Palette generator →

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