#C167DD#C167DD

#C167DD is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.3% C 0.188 H 317.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#C167DD
RGBrgb(193, 103, 221)
HSLhsl(286, 63%, 64%)
HSVhsv(286, 53%, 87%)
CMYKcmyk(12.7%, 53.4%, 0%, 13.3%)
CIE-LABlab(58.28, 54.17, -45.65)
CIE-LCHlch(58.28, 70.84, 319.88°)
OKLaboklab(66.31% 0.1392 -0.127)
OKLCHoklch(66.31% 0.188 317.6)
XYZxyz(39.8919, 26.2598, 71.3599)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C167DD #83DD67
analogous
#8667DD #C167DD #DD67BE
triadic
#C167DD #DDC167 #67DDC1
tetradic
#C167DD #DD8667 #83DD67 #67BEDD
square
#C167DD #DD8667 #83DD67 #67BEDD
split-complementary
#C167DD #BEDD67 #67DD86
monochromatic
#8625A5 #AD35D2 #C167DD #D599E8 #EACBF3

Accessibility & contrast

On white

3.36
#C167DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#C167DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C167DD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C167DD#FFFFFF#000000##000000
##C167DD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E1
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#C07998
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c167dd;
/* rgb */ color: rgb(193, 103, 221);
/* oklch */ color: oklch(66.3% 0.188 317.6);
Tailwind
colors: {
  custom: {
    50: '#d696e8',
    500: '#c167dd',
    950: '#000000',
  },
}
SCSS
$custom: #c167dd;
$custom-light: #d696e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c167dd",
  "rgb": {
    "r": 193,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 285.763,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.18849,
    "h": 317.6
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#C167DD
secondary
#C5E5BB
accent
#CB1A44
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C167DD

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

Preview Lab → · Contrast checker → · Palette generator →

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