#C6AFFE#C6AFFE

#C6AFFE is a light, moderate violet. Relative luminance 0.498; OKLCH L 80.2% C 0.112 H 297.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C6AFFE
RGBrgb(198, 175, 254)
HSLhsl(257, 98%, 84%)
HSVhsv(257, 31%, 100%)
CMYKcmyk(22%, 31.1%, 0%, 0.4%)
CIE-LABlab(75.96, 24.04, -36.11)
CIE-LCHlch(75.96, 43.38, 303.66°)
OKLaboklab(80.21% 0.0512 -0.0998)
OKLCHoklch(80.21% 0.112 297.2)
XYZxyz(56.5040, 49.8211, 100.3863)
Luminance0.4982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AFFE #E7FEAF
analogous
#AFC0FE #C6AFFE #EDAFFE
triadic
#C6AFFE #FEC6AF #AFFEC6
tetradic
#C6AFFE #FEAFC0 #E7FEAF #AFFEED
square
#C6AFFE #FEAFC0 #E7FEAF #AFFEED
split-complementary
#C6AFFE #FEEDAF #C0FEAF
monochromatic
#7036FC #9B73FD #C6AFFE #E9E1FF #E9E1FF

Accessibility & contrast

On white

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

On black

10.96
#C6AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AFFE
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AFFE#FFFFFF#000000##000000
##C6AFFE1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBCFF
Deuteranopia (green-blind)
#A0BAFC
Tritanopia (blue-blind)
#BBBCCB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c6affe;
/* rgb */ color: rgb(198, 175, 254);
/* oklch */ color: oklch(80.2% 0.112 297.2);
Tailwind
colors: {
  custom: {
    50: '#d8c7ff',
    500: '#c6affe',
    950: '#000000',
  },
}
SCSS
$custom: #c6affe;
$custom-light: #d8c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c6affe",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 257.468,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80211,
    "c": 0.11217,
    "h": 297.2
  },
  "luminance": 0.49821
}

Semantic roles & 50–950 ramp

primary
#C6AFFE
secondary
#EDF7D4
accent
#E600A3
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C6AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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