#C2AFFD#C2AFFD

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

Color values

HEX#C2AFFD
RGBrgb(194, 175, 253)
HSLhsl(255, 95%, 84%)
HSVhsv(255, 31%, 99%)
CMYKcmyk(23.3%, 30.8%, 0%, 0.8%)
CIE-LABlab(75.59, 22.64, -36.17)
CIE-LCHlch(75.59, 42.67, 302.05°)
OKLaboklab(79.83% 0.0466 -0.1)
OKLCHoklch(79.83% 0.11 295)
XYZxyz(55.3036, 49.2206, 99.4963)
Luminance0.4922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFFD #EAFDAF
analogous
#AFC3FD #C2AFFD #E9AFFD
triadic
#C2AFFD #FDC2AF #AFFDC2
tetradic
#C2AFFD #FDAFC3 #EAFDAF #AFFDE9
square
#C2AFFD #FDAFC3 #EAFDAF #AFFDE9
split-complementary
#C2AFFD #FDE9AF #C3FDAF
monochromatic
#6738FA #9473FC #C2AFFD #E8E1FE #E8E1FE

Accessibility & contrast

On white

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

On black

10.84
#C2AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFFD
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFFD#FFFFFF#000000##000000
##C2AFFD1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2affd;
/* rgb */ color: rgb(194, 175, 253);
/* oklch */ color: oklch(79.8% 0.110 295.0);
Tailwind
colors: {
  custom: {
    50: '#d5c7fe',
    500: '#c2affd',
    950: '#000000',
  },
}
SCSS
$custom: #c2affd;
$custom-light: #d5c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c2affd",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 254.615,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.79833,
    "c": 0.11033,
    "h": 295
  },
  "luminance": 0.49221
}

Semantic roles & 50–950 ramp

primary
#C2AFFD
secondary
#EEF6D5
accent
#E600AE
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C2AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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