#C167F9#C167F9

#C167F9 is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.9% C 0.217 H 310.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#C167F9
RGBrgb(193, 103, 249)
HSLhsl(277, 92%, 69%)
HSVhsv(277, 59%, 98%)
CMYKcmyk(22.5%, 58.6%, 0%, 2.4%)
CIE-LABlab(59.78, 59.98, -58.88)
CIE-LCHlch(59.78, 84.05, 315.53°)
OKLaboklab(67.89% 0.1405 -0.1656)
OKLCHoklch(67.89% 0.217 310.3)
XYZxyz(43.9382, 27.8784, 92.6706)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C167F9 #9FF967
analogous
#7867F9 #C167F9 #F967E8
triadic
#C167F9 #F9C167 #67F9C1
tetradic
#C167F9 #F97867 #9FF967 #67E8F9
square
#C167F9 #F97867 #9FF967 #67E8F9
split-complementary
#C167F9 #E8F967 #67F978
monochromatic
#8C09DD #A92CF7 #C167F9 #D9A2FB #F1DDFE

Accessibility & contrast

On white

3.19
#C167F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#C167F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C167F9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C167F9#FFFFFF#000000##000000
##C167F91.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFE
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#BA82A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c167f9;
/* rgb */ color: rgb(193, 103, 249);
/* oklch */ color: oklch(67.9% 0.217 310.3);
Tailwind
colors: {
  custom: {
    50: '#d796fc',
    500: '#c167f9',
    950: '#000000',
  },
}
SCSS
$custom: #c167f9;
$custom-light: #d796fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c167f9",
  "rgb": {
    "r": 193,
    "g": 103,
    "b": 249
  },
  "hsl": {
    "h": 276.986,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.21722,
    "h": 310.3
  },
  "luminance": 0.27878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C167F9

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

Preview Lab → · Contrast checker → · Palette generator →

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