#C2AFF2#C2AFF2

#C2AFF2 is a light, moderate violet. Relative luminance 0.485; OKLCH L 79.4% C 0.096 H 297.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C2AFF2
RGBrgb(194, 175, 242)
HSLhsl(257, 72%, 82%)
HSVhsv(257, 28%, 95%)
CMYKcmyk(19.8%, 27.7%, 0%, 5.1%)
CIE-LABlab(75.16, 20.15, -30.89)
CIE-LCHlch(75.16, 36.88, 303.11°)
OKLaboklab(79.37% 0.0437 -0.085)
OKLCHoklch(79.37% 0.096 297.2)
XYZxyz(53.6016, 48.5397, 90.5324)
Luminance0.4854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFF2 #DFF2AF
analogous
#AFBEF2 #C2AFF2 #E4AFF2
triadic
#C2AFF2 #F2C2AF #AFF2C2
tetradic
#C2AFF2 #F2AFBE #DFF2AF #AFF2E4
square
#C2AFF2 #F2AFBE #DFF2AF #AFF2E4
split-complementary
#C2AFF2 #F2E4AF #BEF2AF
monochromatic
#7246E1 #9A7AE9 #C2AFF2 #EAE4FB #EBE5FB

Accessibility & contrast

On white

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

On black

10.71
#C2AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFF2
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFF2#FFFFFF#000000##000000
##C2AFF21.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B9F5
Deuteranopia (green-blind)
#A3B8F0
Tritanopia (blue-blind)
#B9B9C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2aff2;
/* rgb */ color: rgb(194, 175, 242);
/* oklch */ color: oklch(79.4% 0.096 297.2);
Tailwind
colors: {
  custom: {
    50: '#d5c7f6',
    500: '#c2aff2',
    950: '#000000',
  },
}
SCSS
$custom: #c2aff2;
$custom-light: #d5c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aff2",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 257.015,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79367,
    "c": 0.09553,
    "h": 297.2
  },
  "luminance": 0.4854
}

Semantic roles & 50–950 ramp

primary
#C2AFF2
secondary
#EBF2D9
accent
#D4119D
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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