#C6AFFC#C6AFFC

#C6AFFC is a light, moderate violet. Relative luminance 0.497; OKLCH L 80.1% C 0.110 H 297.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C6AFFC
RGBrgb(198, 175, 252)
HSLhsl(258, 93%, 84%)
HSVhsv(258, 31%, 99%)
CMYKcmyk(21.4%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.88, 23.59, -35.15)
CIE-LCHlch(75.88, 42.33, 303.87°)
OKLaboklab(80.13% 0.0507 -0.097)
OKLCHoklch(80.13% 0.11 297.6)
XYZxyz(56.1854, 49.6936, 98.7084)
Luminance0.4969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AFFC #E5FCAF
analogous
#AFBEFC #C6AFFC #ECAFFC
triadic
#C6AFFC #FCC6AF #AFFCC6
tetradic
#C6AFFC #FCAFBE #E5FCAF #AFFCEC
square
#C6AFFC #FCAFBE #E5FCAF #AFFCEC
split-complementary
#C6AFFC #FCECAF #BEFCAF
monochromatic
#7239F8 #9C74FA #C6AFFC #EAE2FE #EAE2FE

Accessibility & contrast

On white

1.92
#C6AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#C6AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AFFC
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AFFC#FFFFFF#000000##000000
##C6AFFC1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFF
Deuteranopia (green-blind)
#A1BAFA
Tritanopia (blue-blind)
#BCBBCB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c6affc;
/* rgb */ color: rgb(198, 175, 252);
/* oklch */ color: oklch(80.1% 0.110 297.6);
Tailwind
colors: {
  custom: {
    50: '#d8c7fd',
    500: '#c6affc',
    950: '#000000',
  },
}
SCSS
$custom: #c6affc;
$custom-light: #d8c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c6affc",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 257.922,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80125,
    "c": 0.10951,
    "h": 297.6
  },
  "luminance": 0.49694
}

Semantic roles & 50–950 ramp

primary
#C6AFFC
secondary
#ECF6D5
accent
#E600A1
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C6AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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