#C166F3#C166F3

#C166F3 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.4% C 0.212 H 311.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#C166F3
RGBrgb(193, 102, 243)
HSLhsl(279, 85%, 68%)
HSVhsv(279, 58%, 95%)
CMYKcmyk(20.6%, 58%, 0%, 4.7%)
CIE-LABlab(59.26, 59.19, -56.38)
CIE-LCHlch(59.26, 81.75, 316.39°)
OKLaboklab(67.41% 0.1417 -0.1583)
OKLCHoklch(67.41% 0.212 311.8)
XYZxyz(42.9184, 27.3123, 87.7876)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F3 #98F366
analogous
#7A66F3 #C166F3 #F366DF
triadic
#C166F3 #F3C166 #66F3C1
tetradic
#C166F3 #F37A66 #98F366 #66DFF3
square
#C166F3 #F37A66 #98F366 #66DFF3
split-complementary
#C166F3 #DFF366 #66F37A
monochromatic
#8B10CE #AA2DEF #C166F3 #D89FF7 #EFD7FC

Accessibility & contrast

On white

3.25
#C166F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#C166F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F3#FFFFFF#000000##000000
##C166F31.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368AF8
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#BB80A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c166f3;
/* rgb */ color: rgb(193, 102, 243);
/* oklch */ color: oklch(67.4% 0.212 311.8);
Tailwind
colors: {
  custom: {
    50: '#d796f8',
    500: '#c166f3',
    950: '#000000',
  },
}
SCSS
$custom: #c166f3;
$custom-light: #d796f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f3",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 278.723,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.21245,
    "h": 311.8
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C166F3

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

Preview Lab → · Contrast checker → · Palette generator →

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