#C4AFFC#C4AFFC

#C4AFFC is a light, moderate violet. Relative luminance 0.494; OKLCH L 80.0% C 0.109 H 296.4°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#C4AFFC
RGBrgb(196, 175, 252)
HSLhsl(256, 93%, 84%)
HSVhsv(256, 31%, 99%)
CMYKcmyk(22.2%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.71, 23.00, -35.42)
CIE-LCHlch(75.71, 42.23, 303.00°)
OKLaboklab(79.96% 0.0485 -0.0979)
OKLCHoklch(79.96% 0.109 296.4)
XYZxyz(55.6616, 49.4235, 98.6838)
Luminance0.4942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AFFC #E7FCAF
analogous
#AFC0FC #C4AFFC #EAAFFC
triadic
#C4AFFC #FCC4AF #AFFCC4
tetradic
#C4AFFC #FCAFC0 #E7FCAF #AFFCEA
square
#C4AFFC #FCAFC0 #E7FCAF #AFFCEA
split-complementary
#C4AFFC #FCEAAF #C0FCAF
monochromatic
#6D39F8 #9874FA #C4AFFC #E9E2FE #E9E2FE

Accessibility & contrast

On white

1.93
#C4AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#C4AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AFFC
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AFFC#FFFFFF#000000##000000
##C4AFFC1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4affc;
/* rgb */ color: rgb(196, 175, 252);
/* oklch */ color: oklch(80.0% 0.109 296.4);
Tailwind
colors: {
  custom: {
    50: '#d7c7fd',
    500: '#c4affc',
    950: '#000000',
  },
}
SCSS
$custom: #c4affc;
$custom-light: #d7c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c4affc",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 256.364,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.79956,
    "c": 0.10923,
    "h": 296.4
  },
  "luminance": 0.49424
}

Semantic roles & 50–950 ramp

primary
#C4AFFC
secondary
#EDF6D5
accent
#E600A7
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C4AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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