#C8AFFB#C8AFFB

#C8AFFB is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.3% C 0.109 H 299.0°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C8AFFB
RGBrgb(200, 175, 251)
HSLhsl(260, 90%, 84%)
HSVhsv(260, 30%, 98%)
CMYKcmyk(20.3%, 30.3%, 0%, 1.6%)
CIE-LABlab(76.01, 23.96, -34.40)
CIE-LCHlch(76.01, 41.92, 304.86°)
OKLaboklab(80.25% 0.0527 -0.0949)
OKLCHoklch(80.25% 0.109 299)
XYZxyz(56.5582, 49.9041, 97.9009)
Luminance0.4990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFFB #E2FBAF
analogous
#AFBCFB #C8AFFB #EEAFFB
triadic
#C8AFFB #FBC8AF #AFFBC8
tetradic
#C8AFFB #FBAFBC #E2FBAF #AFFBEE
square
#C8AFFB #FBAFBC #E2FBAF #AFFBEE
split-complementary
#C8AFFB #FBEEAF #BCFBAF
monochromatic
#783AF5 #A075F8 #C8AFFB #EBE2FE #EBE2FE

Accessibility & contrast

On white

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

On black

10.98
#C8AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFFB
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFFB#FFFFFF#000000##000000
##C8AFFB1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8affb;
/* rgb */ color: rgb(200, 175, 251);
/* oklch */ color: oklch(80.3% 0.109 299.0);
Tailwind
colors: {
  custom: {
    50: '#d9c7fd',
    500: '#c8affb',
    950: '#000000',
  },
}
SCSS
$custom: #c8affb;
$custom-light: #d9c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8affb",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 259.737,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80252,
    "c": 0.10852,
    "h": 299
  },
  "luminance": 0.49904
}

Semantic roles & 50–950 ramp

primary
#C8AFFB
secondary
#EBF6D5
accent
#E6009A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151317
muted
#838285

Preview Lab

Preview with #C8AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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