#C2AFF3#C2AFF3

#C2AFF3 is a light, moderate violet. Relative luminance 0.486; OKLCH L 79.4% C 0.097 H 297.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#C2AFF3
RGBrgb(194, 175, 243)
HSLhsl(257, 74%, 82%)
HSVhsv(257, 28%, 95%)
CMYKcmyk(20.2%, 28%, 0%, 4.7%)
CIE-LABlab(75.20, 20.37, -31.37)
CIE-LCHlch(75.20, 37.40, 303.00°)
OKLaboklab(79.41% 0.0439 -0.0863)
OKLCHoklch(79.41% 0.097 297)
XYZxyz(53.7522, 48.6000, 91.3255)
Luminance0.4860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFF3 #E0F3AF
analogous
#AFBEF3 #C2AFF3 #E4AFF3
triadic
#C2AFF3 #F3C2AF #AFF3C2
tetradic
#C2AFF3 #F3AFBE #E0F3AF #AFF3E4
square
#C2AFF3 #F3AFBE #E0F3AF #AFF3E4
split-complementary
#C2AFF3 #F3E4AF #BEF3AF
monochromatic
#7145E3 #997AEB #C2AFF3 #EBE4FB #EBE4FB

Accessibility & contrast

On white

1.96
#C2AFF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#C2AFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFF3
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFF3#FFFFFF#000000##000000
##C2AFF31.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B9F6
Deuteranopia (green-blind)
#A2B8F1
Tritanopia (blue-blind)
#B9BAC7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2aff3;
/* rgb */ color: rgb(194, 175, 243);
/* oklch */ color: oklch(79.4% 0.097 297.0);
Tailwind
colors: {
  custom: {
    50: '#d5c7f7',
    500: '#c2aff3',
    950: '#000000',
  },
}
SCSS
$custom: #c2aff3;
$custom-light: #d5c7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aff3",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 256.765,
    "s": 73.913,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.09687,
    "h": 297
  },
  "luminance": 0.486
}

Semantic roles & 50–950 ramp

primary
#C2AFF3
secondary
#EBF3D8
accent
#D60F9F
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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