#C168F8#C168F8

#C168F8 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 68.0% C 0.215 H 310.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#C168F8
RGBrgb(193, 104, 248)
HSLhsl(277, 91%, 69%)
HSVhsv(277, 58%, 97%)
CMYKcmyk(22.2%, 58.1%, 0%, 2.7%)
CIE-LABlab(59.90, 59.28, -58.13)
CIE-LCHlch(59.90, 83.02, 315.56°)
OKLaboklab(67.96% 0.1393 -0.1635)
OKLCHoklch(67.96% 0.215 310.4)
XYZxyz(43.8827, 28.0163, 91.8847)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168F8 #9FF868
analogous
#7968F8 #C168F8 #F868E7
triadic
#C168F8 #F8C168 #68F8C1
tetradic
#C168F8 #F87968 #9FF868 #68E7F8
square
#C168F8 #F87968 #9FF868 #68E7F8
split-complementary
#C168F8 #E7F868 #68F879
monochromatic
#8C0ADB #A92EF5 #C168F8 #D9A2FB #F1DDFD

Accessibility & contrast

On white

3.18
#C168F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#C168F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168F8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168F8#FFFFFF#000000##000000
##C168F81.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFD
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#BA83A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c168f8;
/* rgb */ color: rgb(193, 104, 248);
/* oklch */ color: oklch(68.0% 0.215 310.4);
Tailwind
colors: {
  custom: {
    50: '#d797fb',
    500: '#c168f8',
    950: '#000000',
  },
}
SCSS
$custom: #c168f8;
$custom-light: #d797fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c168f8",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 277.083,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67963,
    "c": 0.21476,
    "h": 310.4
  },
  "luminance": 0.28015
}

Semantic roles & 50–950 ramp

primary
#C168F8
secondary
#D9F3C9
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C168F8

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

Preview Lab → · Contrast checker → · Palette generator →

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