#C06CF2#C06CF2

#C06CF2 is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.0% C 0.202 H 311.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#C06CF2
RGBrgb(192, 108, 242)
HSLhsl(278, 84%, 69%)
HSVhsv(278, 55%, 95%)
CMYKcmyk(20.7%, 55.4%, 0%, 5.1%)
CIE-LABlab(60.20, 55.77, -54.34)
CIE-LCHlch(60.20, 77.87, 315.74°)
OKLaboklab(68.05% 0.133 -0.1524)
OKLCHoklch(68.05% 0.202 311.1)
XYZxyz(43.1249, 28.3433, 87.1862)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C06CF2 #9EF26C
analogous
#7D6CF2 #C06CF2 #F26CE1
triadic
#C06CF2 #F2C06C #6CF2C0
tetradic
#C06CF2 #F27D6C #9EF26C #6CE1F2
square
#C06CF2 #F27D6C #9EF26C #6CE1F2
split-complementary
#C06CF2 #E1F26C #6CF27D
monochromatic
#8A12D1 #A834ED #C06CF2 #D8A4F7 #F0DCFC

Accessibility & contrast

On white

3.15
#C06CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#C06CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C06CF2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C06CF2#FFFFFF#000000##000000
##C06CF21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#BA84A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c06cf2;
/* rgb */ color: rgb(192, 108, 242);
/* oklch */ color: oklch(68.0% 0.202 311.1);
Tailwind
colors: {
  custom: {
    50: '#d699f7',
    500: '#c06cf2',
    950: '#000000',
  },
}
SCSS
$custom: #c06cf2;
$custom-light: #d699f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c06cf2",
  "rgb": {
    "r": 192,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 277.612,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68046,
    "c": 0.20228,
    "h": 311.1
  },
  "luminance": 0.28342
}

Semantic roles & 50–950 ramp

primary
#C06CF2
secondary
#D8F1C9
accent
#E00557
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C06CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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