#C8AFFC#C8AFFC

#C8AFFC is a light, moderate violet. Relative luminance 0.500; OKLCH L 80.3% C 0.110 H 298.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C8AFFC
RGBrgb(200, 175, 252)
HSLhsl(259, 93%, 84%)
HSVhsv(259, 31%, 99%)
CMYKcmyk(20.6%, 30.6%, 0%, 1.2%)
CIE-LABlab(76.05, 24.18, -34.88)
CIE-LCHlch(76.05, 42.44, 304.74°)
OKLaboklab(80.29% 0.053 -0.0962)
OKLCHoklch(80.29% 0.11 298.8)
XYZxyz(56.7162, 49.9673, 98.7332)
Luminance0.4997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFFC #E3FCAF
analogous
#AFBCFC #C8AFFC #EFAFFC
triadic
#C8AFFC #FCC8AF #AFFCC8
tetradic
#C8AFFC #FCAFBC #E3FCAF #AFFCEF
square
#C8AFFC #FCAFBC #E3FCAF #AFFCEF
split-complementary
#C8AFFC #FCEFAF #BCFCAF
monochromatic
#7739F8 #9F74FA #C8AFFC #EBE2FE #EBE2FE

Accessibility & contrast

On white

1.91
#C8AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#C8AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFFC
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFFC#FFFFFF#000000##000000
##C8AFFC1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFF
Deuteranopia (green-blind)
#A2BBFA
Tritanopia (blue-blind)
#BFBBCB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8affc;
/* rgb */ color: rgb(200, 175, 252);
/* oklch */ color: oklch(80.3% 0.110 298.8);
Tailwind
colors: {
  custom: {
    50: '#d9c7fd',
    500: '#c8affc',
    950: '#000000',
  },
}
SCSS
$custom: #c8affc;
$custom-light: #d9c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8affc",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 259.481,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80294,
    "c": 0.10984,
    "h": 298.8
  },
  "luminance": 0.49968
}

Semantic roles & 50–950 ramp

primary
#C8AFFC
secondary
#EBF6D5
accent
#E6009B
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151317
muted
#838285

Preview Lab

Preview with #C8AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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