#C2AFFB#C2AFFB

#C2AFFB is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.7% C 0.108 H 295.3°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C2AFFB
RGBrgb(194, 175, 251)
HSLhsl(255, 90%, 84%)
HSVhsv(255, 30%, 98%)
CMYKcmyk(22.7%, 30.3%, 0%, 1.6%)
CIE-LABlab(75.51, 22.18, -35.21)
CIE-LCHlch(75.51, 41.62, 302.21°)
OKLaboklab(79.75% 0.0461 -0.0973)
OKLCHoklch(79.75% 0.108 295.3)
XYZxyz(54.9867, 49.0938, 97.8272)
Luminance0.4909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFFB #E8FBAF
analogous
#AFC2FB #C2AFFB #E8AFFB
triadic
#C2AFFB #FBC2AF #AFFBC2
tetradic
#C2AFFB #FBAFC2 #E8FBAF #AFFBE8
square
#C2AFFB #FBAFC2 #E8FBAF #AFFBE8
split-complementary
#C2AFFB #FBE8AF #C2FBAF
monochromatic
#693AF5 #9675F8 #C2AFFB #E9E2FE #E9E2FE

Accessibility & contrast

On white

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

On black

10.82
#C2AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFFB
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFFB#FFFFFF#000000##000000
##C2AFFB1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFE
Deuteranopia (green-blind)
#9FB9F9
Tritanopia (blue-blind)
#B7BBCA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2affb;
/* rgb */ color: rgb(194, 175, 251);
/* oklch */ color: oklch(79.7% 0.108 295.3);
Tailwind
colors: {
  custom: {
    50: '#d5c7fd',
    500: '#c2affb',
    950: '#000000',
  },
}
SCSS
$custom: #c2affb;
$custom-light: #d5c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c2affb",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 255,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.79747,
    "c": 0.10764,
    "h": 295.3
  },
  "luminance": 0.49094
}

Semantic roles & 50–950 ramp

primary
#C2AFFB
secondary
#EEF6D5
accent
#E600AC
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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