#C167E2#C167E2

#C167E2 is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.6% C 0.194 H 316.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#C167E2
RGBrgb(193, 103, 226)
HSLhsl(284, 68%, 65%)
HSVhsv(284, 54%, 89%)
CMYKcmyk(14.6%, 54.4%, 0%, 11.4%)
CIE-LABlab(58.54, 55.18, -48.06)
CIE-LCHlch(58.54, 73.17, 318.95°)
OKLaboklab(66.58% 0.1396 -0.134)
OKLCHoklch(66.58% 0.194 316.2)
XYZxyz(40.5680, 26.5303, 74.9206)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C167E2 #88E267
analogous
#8367E2 #C167E2 #E267C6
triadic
#C167E2 #E2C167 #67E2C1
tetradic
#C167E2 #E28367 #88E267 #67C6E2
square
#C167E2 #E28367 #88E267 #67C6E2
split-complementary
#C167E2 #C6E267 #67E283
monochromatic
#8821AD #AC34D8 #C167E2 #D69AEC #EBCEF6

Accessibility & contrast

On white

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

On black

6.31
#C167E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C167E2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C167E2#FFFFFF#000000##000000
##C167E21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#688FDF
Tritanopia (blue-blind)
#BF7B9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c167e2;
/* rgb */ color: rgb(193, 103, 226);
/* oklch */ color: oklch(66.6% 0.194 316.2);
Tailwind
colors: {
  custom: {
    50: '#d696eb',
    500: '#c167e2',
    950: '#000000',
  },
}
SCSS
$custom: #c167e2;
$custom-light: #d696eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c167e2",
  "rgb": {
    "r": 193,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 283.902,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.19356,
    "h": 316.2
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#C167E2
secondary
#C9E8BD
accent
#D01648
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C167E2

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

Preview Lab → · Contrast checker → · Palette generator →

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