#C168FA#C168FA

#C168FA is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.1% C 0.217 H 310.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#C168FA
RGBrgb(193, 104, 250)
HSLhsl(277, 94%, 69%)
HSVhsv(277, 58%, 98%)
CMYKcmyk(22.8%, 58.4%, 0%, 2%)
CIE-LABlab(60.02, 59.70, -59.06)
CIE-LCHlch(60.02, 83.98, 315.31°)
OKLaboklab(68.08% 0.1393 -0.1662)
OKLCHoklch(68.08% 0.217 310)
XYZxyz(44.1947, 28.1410, 93.5276)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168FA #A1FA68
analogous
#7868FA #C168FA #FA68EA
triadic
#C168FA #FAC168 #68FAC1
tetradic
#C168FA #FA7868 #A1FA68 #68EAFA
square
#C168FA #FA7868 #A1FA68 #68EAFA
split-complementary
#C168FA #EAFA68 #68FA78
monochromatic
#8C07E0 #A92DF8 #C168FA #D9A3FC #F2DEFE

Accessibility & contrast

On white

3.17
#C168FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#C168FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168FA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168FA#FFFFFF#000000##000000
##C168FA1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#B983A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c168fa;
/* rgb */ color: rgb(193, 104, 250);
/* oklch */ color: oklch(68.1% 0.217 310.0);
Tailwind
colors: {
  custom: {
    50: '#d797fd',
    500: '#c168fa',
    950: '#000000',
  },
}
SCSS
$custom: #c168fa;
$custom-light: #d797fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c168fa",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 276.575,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68081,
    "c": 0.21684,
    "h": 310
  },
  "luminance": 0.2814
}

Semantic roles & 50–950 ramp

primary
#C168FA
secondary
#DAF4CA
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C168FA

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

Preview Lab → · Contrast checker → · Palette generator →

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