#C06CEC#C06CEC

#C06CEC is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.7% C 0.196 H 312.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#C06CEC
RGBrgb(192, 108, 236)
HSLhsl(279, 77%, 67%)
HSVhsv(279, 54%, 93%)
CMYKcmyk(18.6%, 54.2%, 0%, 7.5%)
CIE-LABlab(59.88, 54.49, -51.52)
CIE-LCHlch(59.88, 74.99, 316.61°)
OKLaboklab(67.71% 0.1327 -0.1442)
OKLCHoklch(67.71% 0.196 312.6)
XYZxyz(42.2385, 27.9887, 82.5179)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C06CEC #98EC6C
analogous
#806CEC #C06CEC #EC6CD8
triadic
#C06CEC #ECC06C #6CECC0
tetradic
#C06CEC #EC806C #98EC6C #6CD8EC
square
#C06CEC #EC806C #98EC6C #6CD8EC
split-complementary
#C06CEC #D8EC6C #6CEC80
monochromatic
#8919C4 #A936E5 #C06CEC #D7A2F3 #EED8FA

Accessibility & contrast

On white

3.18
#C06CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#C06CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C06CEC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C06CEC#FFFFFF#000000##000000
##C06CEC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#BC82A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c06cec;
/* rgb */ color: rgb(192, 108, 236);
/* oklch */ color: oklch(67.7% 0.196 312.6);
Tailwind
colors: {
  custom: {
    50: '#d699f3',
    500: '#c06cec',
    950: '#000000',
  },
}
SCSS
$custom: #c06cec;
$custom-light: #d699f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c06cec",
  "rgb": {
    "r": 192,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 279.375,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.19592,
    "h": 312.6
  },
  "luminance": 0.27988
}

Semantic roles & 50–950 ramp

primary
#C06CEC
secondary
#D4EEC6
accent
#D90C53
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C06CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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