#C2AFFA#C2AFFA

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

Color values

HEX#C2AFFA
RGBrgb(194, 175, 250)
HSLhsl(255, 88%, 83%)
HSVhsv(255, 30%, 98%)
CMYKcmyk(22.4%, 30%, 0%, 2%)
CIE-LABlab(75.47, 21.96, -34.73)
CIE-LCHlch(75.47, 41.09, 302.30°)
OKLaboklab(79.7% 0.0458 -0.0959)
OKLCHoklch(79.7% 0.106 295.5)
XYZxyz(54.8295, 49.0309, 96.9992)
Luminance0.4903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFFA #E7FAAF
analogous
#AFC1FA #C2AFFA #E7AFFA
triadic
#C2AFFA #FAC2AF #AFFAC2
tetradic
#C2AFFA #FAAFC1 #E7FAAF #AFFAE7
square
#C2AFFA #FAAFC1 #E7FAAF #AFFAE7
split-complementary
#C2AFFA #FAE7AF #C1FAAF
monochromatic
#6A3CF3 #9675F6 #C2AFFA #E9E2FD #E9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AFFA#FFFFFF#000000##000000
##C2AFFA1.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)
#9DBAFD
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#B7BBCA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2affa;
/* rgb */ color: rgb(194, 175, 250);
/* oklch */ color: oklch(79.7% 0.106 295.5);
Tailwind
colors: {
  custom: {
    50: '#d5c7fc',
    500: '#c2affa',
    950: '#000000',
  },
}
SCSS
$custom: #c2affa;
$custom-light: #d5c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c2affa",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 255.2,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79704,
    "c": 0.10629,
    "h": 295.5
  },
  "luminance": 0.49031
}

Semantic roles & 50–950 ramp

primary
#C2AFFA
secondary
#EDF5D6
accent
#E501AB
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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