#C168FE#C168FE

#C168FE is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.3% C 0.221 H 309.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C168FE
RGBrgb(193, 104, 254)
HSLhsl(276, 99%, 70%)
HSVhsv(276, 59%, 100%)
CMYKcmyk(24%, 59.1%, 0%, 0.4%)
CIE-LABlab(60.24, 60.57, -60.90)
CIE-LCHlch(60.24, 85.89, 314.84°)
OKLaboklab(68.32% 0.1393 -0.1716)
OKLCHoklch(68.32% 0.221 309.1)
XYZxyz(44.8285, 28.3946, 96.8659)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168FE #A5FE68
analogous
#7668FE #C168FE #FE68F0
triadic
#C168FE #FEC168 #68FEC1
tetradic
#C168FE #FE7668 #A5FE68 #68F0FE
square
#C168FE #FE7668 #A5FE68 #68F0FE
split-complementary
#C168FE #F0FE68 #68FE76
monochromatic
#8B02EA #A82BFE #C168FE #DAA5FE #F3E1FF

Accessibility & contrast

On white

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

On black

6.68
#C168FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168FE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168FE#FFFFFF#000000##000000
##C168FE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#B885AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c168fe;
/* rgb */ color: rgb(193, 104, 254);
/* oklch */ color: oklch(68.3% 0.221 309.1);
Tailwind
colors: {
  custom: {
    50: '#d797ff',
    500: '#c168fe',
    950: '#000000',
  },
}
SCSS
$custom: #c168fe;
$custom-light: #d797ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c168fe",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 275.6,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68321,
    "c": 0.221,
    "h": 309.1
  },
  "luminance": 0.28394
}

Semantic roles & 50–950 ramp

primary
#C168FE
secondary
#DDF6CC
accent
#E6005D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C168FE

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

Preview Lab → · Contrast checker → · Palette generator →

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