#C2AFFC#C2AFFC

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

Color values

HEX#C2AFFC
RGBrgb(194, 175, 252)
HSLhsl(255, 93%, 84%)
HSVhsv(255, 31%, 99%)
CMYKcmyk(23%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.55, 22.41, -35.69)
CIE-LCHlch(75.55, 42.15, 302.13°)
OKLaboklab(79.79% 0.0463 -0.0987)
OKLCHoklch(79.79% 0.109 295.1)
XYZxyz(55.1447, 49.1570, 98.6596)
Luminance0.4916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFFC #E9FCAF
analogous
#AFC2FC #C2AFFC #E8AFFC
triadic
#C2AFFC #FCC2AF #AFFCC2
tetradic
#C2AFFC #FCAFC2 #E9FCAF #AFFCE8
square
#C2AFFC #FCAFC2 #E9FCAF #AFFCE8
split-complementary
#C2AFFC #FCE8AF #C2FCAF
monochromatic
#6839F8 #9574FA #C2AFFC #E9E2FE #E9E2FE

Accessibility & contrast

On white

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

On black

10.83
#C2AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFFC
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFFC#FFFFFF#000000##000000
##C2AFFC1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2affc;
/* rgb */ color: rgb(194, 175, 252);
/* oklch */ color: oklch(79.8% 0.109 295.1);
Tailwind
colors: {
  custom: {
    50: '#d5c7fd',
    500: '#c2affc',
    950: '#000000',
  },
}
SCSS
$custom: #c2affc;
$custom-light: #d5c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c2affc",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 254.805,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.7979,
    "c": 0.10899,
    "h": 295.1
  },
  "luminance": 0.49158
}

Semantic roles & 50–950 ramp

primary
#C2AFFC
secondary
#EEF6D5
accent
#E600AD
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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