#C1AFFC#C1AFFC

#C1AFFC is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.7% C 0.109 H 294.5°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C1AFFC
RGBrgb(193, 175, 252)
HSLhsl(254, 93%, 84%)
HSVhsv(254, 31%, 99%)
CMYKcmyk(23.4%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.47, 22.12, -35.82)
CIE-LCHlch(75.47, 42.10, 301.70°)
OKLaboklab(79.71% 0.0452 -0.0991)
OKLCHoklch(79.71% 0.109 294.5)
XYZxyz(54.8889, 49.0251, 98.6476)
Luminance0.4903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AFFC #EAFCAF
analogous
#AFC3FC #C1AFFC #E7AFFC
triadic
#C1AFFC #FCC1AF #AFFCC1
tetradic
#C1AFFC #FCAFC3 #EAFCAF #AFFCE7
square
#C1AFFC #FCAFC3 #EAFCAF #AFFCE7
split-complementary
#C1AFFC #FCE7AF #C3FCAF
monochromatic
#6639F8 #9374FA #C1AFFC #E8E2FE #E8E2FE

Accessibility & contrast

On white

1.94
#C1AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#C1AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AFFC
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AFFC#FFFFFF#000000##000000
##C1AFFC1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#9EB9FA
Tritanopia (blue-blind)
#B5BCCB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c1affc;
/* rgb */ color: rgb(193, 175, 252);
/* oklch */ color: oklch(79.7% 0.109 294.5);
Tailwind
colors: {
  custom: {
    50: '#d5c7fd',
    500: '#c1affc',
    950: '#000000',
  },
}
SCSS
$custom: #c1affc;
$custom-light: #d5c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c1affc",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 254.026,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.79707,
    "c": 0.10889,
    "h": 294.5
  },
  "luminance": 0.49026
}

Semantic roles & 50–950 ramp

primary
#C1AFFC
secondary
#EEF6D5
accent
#E600B0
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C1AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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