#C168DE#C168DE

#C168DE is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.5% C 0.188 H 317.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#C168DE
RGBrgb(193, 104, 222)
HSLhsl(285, 64%, 64%)
HSVhsv(285, 53%, 87%)
CMYKcmyk(13.1%, 53.2%, 0%, 12.9%)
CIE-LABlab(58.52, 53.87, -45.84)
CIE-LCHlch(58.52, 70.73, 319.61°)
OKLaboklab(66.5% 0.138 -0.1276)
OKLCHoklch(66.5% 0.188 317.2)
XYZxyz(40.1256, 26.5134, 72.0970)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168DE #85DE68
analogous
#8668DE #C168DE #DE68C0
triadic
#C168DE #DEC168 #68DEC1
tetradic
#C168DE #DE8668 #85DE68 #68C0DE
square
#C168DE #DE8668 #85DE68 #68C0DE
split-complementary
#C168DE #C0DE68 #68DE86
monochromatic
#8725A7 #AC36D3 #C168DE #D69AE9 #EACCF4

Accessibility & contrast

On white

3.33
#C168DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#C168DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168DE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168DE#FFFFFF#000000##000000
##C168DE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E2
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#C07A99
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c168de;
/* rgb */ color: rgb(193, 104, 222);
/* oklch */ color: oklch(66.5% 0.188 317.2);
Tailwind
colors: {
  custom: {
    50: '#d696e9',
    500: '#c168de',
    950: '#000000',
  },
}
SCSS
$custom: #c168de;
$custom-light: #d696e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c168de",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 222
  },
  "hsl": {
    "h": 285.254,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.18795,
    "h": 317.2
  },
  "luminance": 0.26512
}

Semantic roles & 50–950 ramp

primary
#C168DE
secondary
#C6E6BC
accent
#CC1A45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C168DE

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

Preview Lab → · Contrast checker → · Palette generator →

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