#C167EB#C167EB

#C167EB is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.1% C 0.203 H 313.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C167EB
RGBrgb(193, 103, 235)
HSLhsl(281, 77%, 66%)
HSVhsv(281, 56%, 92%)
CMYKcmyk(17.9%, 56.2%, 0%, 7.8%)
CIE-LABlab(59.01, 57.03, -52.34)
CIE-LCHlch(59.01, 77.40, 317.45°)
OKLaboklab(67.08% 0.1402 -0.1465)
OKLCHoklch(67.08% 0.203 313.7)
XYZxyz(41.8355, 27.0373, 81.5961)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C167EB #91EB67
analogous
#7F67EB #C167EB #EB67D3
triadic
#C167EB #EBC167 #67EBC1
tetradic
#C167EB #EB7F67 #91EB67 #67D3EB
square
#C167EB #EB7F67 #91EB67 #67D3EB
split-complementary
#C167EB #D3EB67 #67EB7F
monochromatic
#8A19BF #AB31E4 #C167EB #D79DF2 #EDD3F9

Accessibility & contrast

On white

3.28
#C167EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C167EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C167EB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C167EB#FFFFFF#000000##000000
##C167EB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#BD7E9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c167eb;
/* rgb */ color: rgb(193, 103, 235);
/* oklch */ color: oklch(67.1% 0.203 313.7);
Tailwind
colors: {
  custom: {
    50: '#d796f2',
    500: '#c167eb',
    950: '#000000',
  },
}
SCSS
$custom: #c167eb;
$custom-light: #d796f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c167eb",
  "rgb": {
    "r": 193,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 280.909,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.20276,
    "h": 313.7
  },
  "luminance": 0.27036
}

Semantic roles & 50–950 ramp

primary
#C167EB
secondary
#CFECC1
accent
#D90D4E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C167EB

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

Preview Lab → · Contrast checker → · Palette generator →

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