#C167F7#C167F7

#C167F7 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.8% C 0.215 H 310.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C167F7
RGBrgb(193, 103, 247)
HSLhsl(278, 90%, 69%)
HSVhsv(278, 58%, 97%)
CMYKcmyk(21.9%, 58.3%, 0%, 3.1%)
CIE-LABlab(59.67, 59.55, -57.96)
CIE-LCHlch(59.67, 83.10, 315.78°)
OKLaboklab(67.77% 0.1405 -0.1629)
OKLCHoklch(67.77% 0.215 310.8)
XYZxyz(43.6279, 27.7543, 91.0365)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C167F7 #9DF767
analogous
#7967F7 #C167F7 #F767E5
triadic
#C167F7 #F7C167 #67F7C1
tetradic
#C167F7 #F77967 #9DF767 #67E5F7
square
#C167F7 #F77967 #9DF767 #67E5F7
split-complementary
#C167F7 #E5F767 #67F779
monochromatic
#8B0BD8 #A92DF4 #C167F7 #D9A1FA #F0DBFD

Accessibility & contrast

On white

3.21
#C167F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#C167F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C167F7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C167F7#FFFFFF#000000##000000
##C167F71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFC
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#BA82A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c167f7;
/* rgb */ color: rgb(193, 103, 247);
/* oklch */ color: oklch(67.8% 0.215 310.8);
Tailwind
colors: {
  custom: {
    50: '#d796fa',
    500: '#c167f7',
    950: '#000000',
  },
}
SCSS
$custom: #c167f7;
$custom-light: #d796fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c167f7",
  "rgb": {
    "r": 193,
    "g": 103,
    "b": 247
  },
  "hsl": {
    "h": 277.5,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.21515,
    "h": 310.8
  },
  "luminance": 0.27753
}

Semantic roles & 50–950 ramp

primary
#C167F7
secondary
#D8F2C7
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C167F7

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

Preview Lab → · Contrast checker → · Palette generator →

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