#C168F2#C168F2

#C168F2 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.6% C 0.209 H 311.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#C168F2
RGBrgb(193, 104, 242)
HSLhsl(279, 84%, 68%)
HSVhsv(279, 57%, 95%)
CMYKcmyk(20.2%, 57%, 0%, 5.1%)
CIE-LABlab(59.57, 58.00, -55.34)
CIE-LCHlch(59.57, 80.16, 316.35°)
OKLaboklab(67.61% 0.1392 -0.1553)
OKLCHoklch(67.61% 0.209 311.9)
XYZxyz(42.9668, 27.6499, 87.0607)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168F2 #99F268
analogous
#7C68F2 #C168F2 #F268DE
triadic
#C168F2 #F2C168 #68F2C1
tetradic
#C168F2 #F27C68 #99F268 #68DEF2
square
#C168F2 #F27C68 #99F268 #68DEF2
split-complementary
#C168F2 #DEF268 #68F27C
monochromatic
#8B12CE #AA30ED #C168F2 #D8A0F7 #EFD9FC

Accessibility & contrast

On white

3.22
#C168F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#C168F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168F2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168F2#FFFFFF#000000##000000
##C168F21.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#BC81A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c168f2;
/* rgb */ color: rgb(193, 104, 242);
/* oklch */ color: oklch(67.6% 0.209 311.9);
Tailwind
colors: {
  custom: {
    50: '#d797f7',
    500: '#c168f2',
    950: '#000000',
  },
}
SCSS
$custom: #c168f2;
$custom-light: #d797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c168f2",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 278.696,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.20853,
    "h": 311.9
  },
  "luminance": 0.27649
}

Semantic roles & 50–950 ramp

primary
#C168F2
secondary
#D5F0C6
accent
#E10553
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C168F2

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

Preview Lab → · Contrast checker → · Palette generator →

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