#C168F6#C168F6

#C168F6 is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.8% C 0.213 H 310.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#C168F6
RGBrgb(193, 104, 246)
HSLhsl(278, 89%, 69%)
HSVhsv(278, 58%, 96%)
CMYKcmyk(21.5%, 57.7%, 0%, 3.5%)
CIE-LABlab(59.79, 58.85, -57.20)
CIE-LCHlch(59.79, 82.07, 315.81°)
OKLaboklab(67.85% 0.1393 -0.1607)
OKLCHoklch(67.85% 0.213 310.9)
XYZxyz(43.5741, 27.8928, 90.2593)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168F6 #9DF668
analogous
#7A68F6 #C168F6 #F668E4
triadic
#C168F6 #F6C168 #68F6C1
tetradic
#C168F6 #F67A68 #9DF668 #68E4F6
square
#C168F6 #F67A68 #9DF668 #68E4F6
split-complementary
#C168F6 #E4F668 #68F67A
monochromatic
#8B0DD7 #A92EF3 #C168F6 #D9A2F9 #F0DCFD

Accessibility & contrast

On white

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

On black

6.58
#C168F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168F6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168F6#FFFFFF#000000##000000
##C168F61.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFB
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#BB82A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c168f6;
/* rgb */ color: rgb(193, 104, 246);
/* oklch */ color: oklch(67.8% 0.213 310.9);
Tailwind
colors: {
  custom: {
    50: '#d797fa',
    500: '#c168f6',
    950: '#000000',
  },
}
SCSS
$custom: #c168f6;
$custom-light: #d797fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c168f6",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 277.606,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.21267,
    "h": 310.9
  },
  "luminance": 0.27892
}

Semantic roles & 50–950 ramp

primary
#C168F6
secondary
#D8F2C8
accent
#E50056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C168F6

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

Preview Lab → · Contrast checker → · Palette generator →

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