#C1AFFE#C1AFFE

#C1AFFE is a light, moderate violet. Relative luminance 0.492; OKLCH L 79.8% C 0.112 H 294.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#C1AFFE
RGBrgb(193, 175, 254)
HSLhsl(254, 98%, 84%)
HSVhsv(254, 31%, 100%)
CMYKcmyk(24%, 31.1%, 0%, 0.4%)
CIE-LABlab(75.55, 22.58, -36.78)
CIE-LCHlch(75.55, 43.16, 301.55°)
OKLaboklab(79.79% 0.0457 -0.1018)
OKLCHoklch(79.79% 0.112 294.2)
XYZxyz(55.2075, 49.1525, 100.3255)
Luminance0.4915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AFFE #ECFEAF
analogous
#AFC5FE #C1AFFE #E9AFFE
triadic
#C1AFFE #FEC1AF #AFFEC1
tetradic
#C1AFFE #FEAFC5 #ECFEAF #AFFEE9
square
#C1AFFE #FEAFC5 #ECFEAF #AFFEE9
split-complementary
#C1AFFE #FEE9AF #C5FEAF
monochromatic
#6336FC #9273FD #C1AFFE #E8E1FF #E8E1FF

Accessibility & contrast

On white

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

On black

10.83
#C1AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AFFE
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AFFE#FFFFFF#000000##000000
##C1AFFE1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1affe;
/* rgb */ color: rgb(193, 175, 254);
/* oklch */ color: oklch(79.8% 0.112 294.2);
Tailwind
colors: {
  custom: {
    50: '#d5c7ff',
    500: '#c1affe',
    950: '#000000',
  },
}
SCSS
$custom: #c1affe;
$custom-light: #d5c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c1affe",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 253.671,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.79794,
    "c": 0.11159,
    "h": 294.2
  },
  "luminance": 0.49153
}

Semantic roles & 50–950 ramp

primary
#C1AFFE
secondary
#EFF7D4
accent
#E600B1
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C1AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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