#C2AFF5#C2AFF5

#C2AFF5 is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.5% C 0.100 H 296.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C2AFF5
RGBrgb(194, 175, 245)
HSLhsl(256, 78%, 82%)
HSVhsv(256, 29%, 96%)
CMYKcmyk(20.8%, 28.6%, 0%, 3.9%)
CIE-LABlab(75.28, 20.82, -32.33)
CIE-LCHlch(75.28, 38.46, 302.78°)
OKLaboklab(79.49% 0.0445 -0.0891)
OKLCHoklch(79.49% 0.1 296.5)
XYZxyz(54.0558, 48.7215, 92.9248)
Luminance0.4872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFF5 #E2F5AF
analogous
#AFBFF5 #C2AFF5 #E5AFF5
triadic
#C2AFF5 #F5C2AF #AFF5C2
tetradic
#C2AFF5 #F5AFBF #E2F5AF #AFF5E5
square
#C2AFF5 #F5AFBF #E2F5AF #AFF5E5
split-complementary
#C2AFF5 #F5E5AF #BFF5AF
monochromatic
#6F42E7 #9979EE #C2AFF5 #EAE4FC #EAE4FC

Accessibility & contrast

On white

1.95
#C2AFF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C2AFF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFF5
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFF5#FFFFFF#000000##000000
##C2AFF51.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBAF8
Deuteranopia (green-blind)
#A2B9F3
Tritanopia (blue-blind)
#B8BAC8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2aff5;
/* rgb */ color: rgb(194, 175, 245);
/* oklch */ color: oklch(79.5% 0.100 296.5);
Tailwind
colors: {
  custom: {
    50: '#d5c7f8',
    500: '#c2aff5',
    950: '#000000',
  },
}
SCSS
$custom: #c2aff5;
$custom-light: #d5c7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aff5",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 245
  },
  "hsl": {
    "h": 256.286,
    "s": 77.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79492,
    "c": 0.09956,
    "h": 296.5
  },
  "luminance": 0.48722
}

Semantic roles & 50–950 ramp

primary
#C2AFF5
secondary
#ECF3D8
accent
#DA0BA2
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFF5

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

Preview Lab → · Contrast checker → · Palette generator →

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