#C2AFEB#C2AFEB

#C2AFEB is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.1% C 0.086 H 298.9°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C2AFEB
RGBrgb(194, 175, 235)
HSLhsl(259, 60%, 80%)
HSVhsv(259, 26%, 92%)
CMYKcmyk(17.4%, 25.5%, 0%, 7.8%)
CIE-LABlab(74.91, 18.60, -27.49)
CIE-LCHlch(74.91, 33.19, 304.07°)
OKLaboklab(79.08% 0.0417 -0.0754)
OKLCHoklch(79.08% 0.086 298.9)
XYZxyz(52.5703, 48.1272, 85.1011)
Luminance0.4813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFEB #D8EBAF
analogous
#AFBAEB #C2AFEB #E0AFEB
triadic
#C2AFEB #EBC2AF #AFEBC2
tetradic
#C2AFEB #EBAFBA #D8EBAF #AFEBE0
square
#C2AFEB #EBAFBA #D8EBAF #AFEBE0
split-complementary
#C2AFEB #EBE0AF #BAEBAF
monochromatic
#774DD3 #9D7EDF #C2AFEB #E7E0F7 #ECE7F9

Accessibility & contrast

On white

1.98
#C2AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C2AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFEB
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFEB#FFFFFF#000000##000000
##C2AFEB1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B8EE
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#BBB8C4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c2afeb;
/* rgb */ color: rgb(194, 175, 235);
/* oklch */ color: oklch(79.1% 0.086 298.9);
Tailwind
colors: {
  custom: {
    50: '#d5c7f1',
    500: '#c2afeb',
    950: '#000000',
  },
}
SCSS
$custom: #c2afeb;
$custom-light: #d5c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2afeb",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 259,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79082,
    "c": 0.08611,
    "h": 298.9
  },
  "luminance": 0.48127
}

Semantic roles & 50–950 ramp

primary
#C2AFEB
secondary
#E9F0DB
accent
#C81E92
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C2AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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