#C2AFDC#C2AFDC

#C2AFDC is a light, moderate violet. Relative luminance 0.473; OKLCH L 78.5% C 0.066 H 304.1°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C2AFDC
RGBrgb(194, 175, 220)
HSLhsl(265, 39%, 77%)
HSVhsv(265, 20%, 86%)
CMYKcmyk(11.8%, 20.5%, 0%, 13.7%)
CIE-LABlab(74.38, 15.39, -20.15)
CIE-LCHlch(74.38, 25.35, 307.37°)
OKLaboklab(78.5% 0.0371 -0.0547)
OKLCHoklch(78.5% 0.066 304.1)
XYZxyz(50.4939, 47.2967, 74.1653)
Luminance0.4730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFDC #C9DCAF
analogous
#AFB3DC #C2AFDC #D8AFDC
triadic
#C2AFDC #DCC2AF #AFDCC2
tetradic
#C2AFDC #DCAFB3 #C9DCAF #AFDCD8
square
#C2AFDC #DCAFB3 #C9DCAF #AFDCD8
split-complementary
#C2AFDC #DCD8AF #B3DCAF
monochromatic
#815AB7 #A284C9 #C2AFDC #E2DAEF #EFEAF6

Accessibility & contrast

On white

2.01
#C2AFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C2AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFDC
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFDC#FFFFFF#000000##000000
##C2AFDC1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B6DE
Deuteranopia (green-blind)
#AAB7DB
Tritanopia (blue-blind)
#BEB5BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2afdc;
/* rgb */ color: rgb(194, 175, 220);
/* oklch */ color: oklch(78.5% 0.066 304.1);
Tailwind
colors: {
  custom: {
    50: '#d4c7e7',
    500: '#c2afdc',
    950: '#000000',
  },
}
SCSS
$custom: #c2afdc;
$custom-light: #d4c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c2afdc",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 265.333,
    "s": 39.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78502,
    "c": 0.0661,
    "h": 304.1
  },
  "luminance": 0.47297
}

Semantic roles & 50–950 ramp

primary
#C2AFDC
secondary
#E7ECDF
accent
#B2337D
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C2AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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