#C167F2#C167F2

#C167F2 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.5% C 0.210 H 312.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C167F2
RGBrgb(193, 103, 242)
HSLhsl(279, 84%, 68%)
HSVhsv(279, 57%, 95%)
CMYKcmyk(20.2%, 57.4%, 0%, 5.1%)
CIE-LABlab(59.39, 58.49, -55.63)
CIE-LCHlch(59.39, 80.72, 316.44°)
OKLaboklab(67.48% 0.1404 -0.1561)
OKLCHoklch(67.48% 0.21 312)
XYZxyz(42.8667, 27.4498, 87.0274)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C167F2 #98F267
analogous
#7C67F2 #C167F2 #F267DD
triadic
#C167F2 #F2C167 #67F2C1
tetradic
#C167F2 #F27C67 #98F267 #67DDF2
square
#C167F2 #F27C67 #98F267 #67DDF2
split-complementary
#C167F2 #DDF267 #67F27C
monochromatic
#8B12CD #AA2FED #C167F2 #D89FF7 #EFD8FC

Accessibility & contrast

On white

3.24
#C167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C167F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C167F2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C167F2#FFFFFF#000000##000000
##C167F21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#BC80A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c167f2;
/* rgb */ color: rgb(193, 103, 242);
/* oklch */ color: oklch(67.5% 0.210 312.0);
Tailwind
colors: {
  custom: {
    50: '#d796f7',
    500: '#c167f2',
    950: '#000000',
  },
}
SCSS
$custom: #c167f2;
$custom-light: #d796f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c167f2",
  "rgb": {
    "r": 193,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 278.849,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.20997,
    "h": 312
  },
  "luminance": 0.27449
}

Semantic roles & 50–950 ramp

primary
#C167F2
secondary
#D4F0C5
accent
#E10552
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C167F2

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

Preview Lab → · Contrast checker → · Palette generator →

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