#C06AFA#C06AFA

#C06AFA is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.2% C 0.214 H 309.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C06AFA
RGBrgb(192, 106, 250)
HSLhsl(276, 94%, 70%)
HSVhsv(276, 58%, 98%)
CMYKcmyk(23.2%, 57.6%, 0%, 2%)
CIE-LABlab(60.26, 58.49, -58.67)
CIE-LCHlch(60.26, 82.84, 314.91°)
OKLaboklab(68.24% 0.1357 -0.1651)
OKLCHoklch(68.24% 0.214 309.4)
XYZxyz(44.1442, 28.4174, 93.5836)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C06AFA #A4FA6A
analogous
#786AFA #C06AFA #FA6AEC
triadic
#C06AFA #FAC06A #6AFAC0
tetradic
#C06AFA #FA786A #A4FA6A #6AECFA
square
#C06AFA #FA786A #A4FA6A #6AECFA
split-complementary
#C06AFA #ECFA6A #6AFA78
monochromatic
#8A08E2 #A72FF8 #C06AFA #D9A5FC #F2E0FE

Accessibility & contrast

On white

3.14
#C06AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C06AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C06AFA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C06AFA#FFFFFF#000000##000000
##C06AFA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#B885A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c06afa;
/* rgb */ color: rgb(192, 106, 250);
/* oklch */ color: oklch(68.2% 0.214 309.4);
Tailwind
colors: {
  custom: {
    50: '#d698fd',
    500: '#c06afa',
    950: '#000000',
  },
}
SCSS
$custom: #c06afa;
$custom-light: #d698fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c06afa",
  "rgb": {
    "r": 192,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 275.833,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68237,
    "c": 0.21367,
    "h": 309.4
  },
  "luminance": 0.28417
}

Semantic roles & 50–950 ramp

primary
#C06AFA
secondary
#DCF4CC
accent
#E6005C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C06AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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