#C06AFD#C06AFD

#C06AFD is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.4% C 0.217 H 308.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#C06AFD
RGBrgb(192, 106, 253)
HSLhsl(275, 97%, 70%)
HSVhsv(275, 58%, 99%)
CMYKcmyk(24.1%, 58.1%, 0%, 0.8%)
CIE-LABlab(60.43, 59.14, -60.05)
CIE-LCHlch(60.43, 84.28, 314.56°)
OKLaboklab(68.42% 0.1357 -0.1691)
OKLCHoklch(68.42% 0.217 308.7)
XYZxyz(44.6184, 28.6071, 96.0807)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C06AFD #A7FD6A
analogous
#766AFD #C06AFD #FD6AF1
triadic
#C06AFD #FDC06A #6AFDC0
tetradic
#C06AFD #FD766A #A7FD6A #6AF1FD
square
#C06AFD #FD766A #A7FD6A #6AF1FD
split-complementary
#C06AFD #F1FD6A #6AFD76
monochromatic
#8A03E9 #A62EFC #C06AFD #DAA6FE #F2E1FF

Accessibility & contrast

On white

3.12
#C06AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#C06AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C06AFD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C06AFD#FFFFFF#000000##000000
##C06AFD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#B786AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c06afd;
/* rgb */ color: rgb(192, 106, 253);
/* oklch */ color: oklch(68.4% 0.217 308.7);
Tailwind
colors: {
  custom: {
    50: '#d798ff',
    500: '#c06afd',
    950: '#000000',
  },
}
SCSS
$custom: #c06afd;
$custom-light: #d798ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c06afd",
  "rgb": {
    "r": 192,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 275.102,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68415,
    "c": 0.21683,
    "h": 308.7
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#C06AFD
secondary
#DEF6CD
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C06AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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