#C8AFFA#C8AFFA

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

Color values

HEX#C8AFFA
RGBrgb(200, 175, 250)
HSLhsl(260, 88%, 83%)
HSVhsv(260, 30%, 98%)
CMYKcmyk(20%, 30%, 0%, 2%)
CIE-LABlab(75.97, 23.73, -33.92)
CIE-LCHlch(75.97, 41.40, 304.98°)
OKLaboklab(80.21% 0.0524 -0.0935)
OKLCHoklch(80.21% 0.107 299.3)
XYZxyz(56.4010, 49.8412, 97.0729)
Luminance0.4984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFFA #E1FAAF
analogous
#AFBBFA #C8AFFA #EDAFFA
triadic
#C8AFFA #FAC8AF #AFFAC8
tetradic
#C8AFFA #FAAFBB #E1FAAF #AFFAED
square
#C8AFFA #FAAFBB #E1FAAF #AFFAED
split-complementary
#C8AFFA #FAEDAF #BBFAAF
monochromatic
#793CF3 #A075F6 #C8AFFA #EBE2FD #EBE2FD

Accessibility & contrast

On white

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

On black

10.97
#C8AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFFA
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFFA#FFFFFF#000000##000000
##C8AFFA1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFD
Deuteranopia (green-blind)
#A2BBF8
Tritanopia (blue-blind)
#BFBBCA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8affa;
/* rgb */ color: rgb(200, 175, 250);
/* oklch */ color: oklch(80.2% 0.107 299.3);
Tailwind
colors: {
  custom: {
    50: '#d9c7fc',
    500: '#c8affa',
    950: '#000000',
  },
}
SCSS
$custom: #c8affa;
$custom-light: #d9c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8affa",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 260,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80209,
    "c": 0.1072,
    "h": 299.3
  },
  "luminance": 0.49841
}

Semantic roles & 50–950 ramp

primary
#C8AFFA
secondary
#EBF5D6
accent
#E50199
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151317
muted
#838285

Preview Lab

Preview with #C8AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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