#C06AF2#C06AF2

#C06AF2 is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.8% C 0.205 H 311.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#C06AF2
RGBrgb(192, 106, 242)
HSLhsl(278, 84%, 68%)
HSVhsv(278, 56%, 95%)
CMYKcmyk(20.7%, 56.2%, 0%, 5.1%)
CIE-LABlab(59.82, 56.77, -54.94)
CIE-LCHlch(59.82, 79.00, 315.94°)
OKLaboklab(67.77% 0.1355 -0.1542)
OKLCHoklch(67.77% 0.205 311.3)
XYZxyz(42.9164, 27.9263, 87.1167)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C06AF2 #9CF26A
analogous
#7C6AF2 #C06AF2 #F26AE0
triadic
#C06AF2 #F2C06A #6AF2C0
tetradic
#C06AF2 #F27C6A #9CF26A #6AE0F2
square
#C06AF2 #F27C6A #9CF26A #6AE0F2
split-complementary
#C06AF2 #E0F26A #6AF27C
monochromatic
#8A12CF #A832ED #C06AF2 #D8A2F7 #F0DBFC

Accessibility & contrast

On white

3.19
#C06AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#C06AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C06AF2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C06AF2#FFFFFF#000000##000000
##C06AF21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#BA82A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c06af2;
/* rgb */ color: rgb(192, 106, 242);
/* oklch */ color: oklch(67.8% 0.205 311.3);
Tailwind
colors: {
  custom: {
    50: '#d698f7',
    500: '#c06af2',
    950: '#000000',
  },
}
SCSS
$custom: #c06af2;
$custom-light: #d698f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c06af2",
  "rgb": {
    "r": 192,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 277.941,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67771,
    "c": 0.20524,
    "h": 311.3
  },
  "luminance": 0.27925
}

Semantic roles & 50–950 ramp

primary
#C06AF2
secondary
#D6F1C7
accent
#E00556
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C06AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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