#C168F7#C168F7

#C168F7 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.9% C 0.214 H 310.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#C168F7
RGBrgb(193, 104, 247)
HSLhsl(277, 90%, 69%)
HSVhsv(277, 58%, 97%)
CMYKcmyk(21.9%, 57.9%, 0%, 3.1%)
CIE-LABlab(59.85, 59.06, -57.67)
CIE-LCHlch(59.85, 82.55, 315.69°)
OKLaboklab(67.9% 0.1393 -0.1621)
OKLCHoklch(67.9% 0.214 310.7)
XYZxyz(43.7280, 27.9544, 91.0698)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168F7 #9EF768
analogous
#7A68F7 #C168F7 #F768E5
triadic
#C168F7 #F7C168 #68F7C1
tetradic
#C168F7 #F77A68 #9EF768 #68E5F7
square
#C168F7 #F77A68 #9EF768 #68E5F7
split-complementary
#C168F7 #E5F768 #68F77A
monochromatic
#8B0CD9 #A92EF4 #C168F7 #D9A2FA #F1DCFD

Accessibility & contrast

On white

3.19
#C168F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#C168F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168F7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168F7#FFFFFF#000000##000000
##C168F71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#BA82A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c168f7;
/* rgb */ color: rgb(193, 104, 247);
/* oklch */ color: oklch(67.9% 0.214 310.7);
Tailwind
colors: {
  custom: {
    50: '#d797fa',
    500: '#c168f7',
    950: '#000000',
  },
}
SCSS
$custom: #c168f7;
$custom-light: #d797fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c168f7",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 277.343,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.21371,
    "h": 310.7
  },
  "luminance": 0.27953
}

Semantic roles & 50–950 ramp

primary
#C168F7
secondary
#D8F3C8
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C168F7

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

Preview Lab → · Contrast checker → · Palette generator →

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