#C2AFEE#C2AFEE

#C2AFEE is a light, moderate violet. Relative luminance 0.483; OKLCH L 79.2% C 0.090 H 298.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C2AFEE
RGBrgb(194, 175, 238)
HSLhsl(258, 65%, 81%)
HSVhsv(258, 26%, 93%)
CMYKcmyk(18.5%, 26.5%, 0%, 6.7%)
CIE-LABlab(75.02, 19.26, -28.95)
CIE-LCHlch(75.02, 34.77, 303.63°)
OKLaboklab(79.2% 0.0425 -0.0795)
OKLCHoklch(79.2% 0.09 298.2)
XYZxyz(53.0074, 48.3021, 87.4030)
Luminance0.4830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFEE #DBEEAF
analogous
#AFBBEE #C2AFEE #E1AFEE
triadic
#C2AFEE #EEC2AF #AFEEC2
tetradic
#C2AFEE #EEAFBB #DBEEAF #AFEEE1
square
#C2AFEE #EEAFBB #DBEEAF #AFEEE1
split-complementary
#C2AFEE #EEE1AF #BBEEAF
monochromatic
#754AD9 #9C7DE3 #C2AFEE #E8E1F9 #ECE6FA

Accessibility & contrast

On white

1.97
#C2AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#C2AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFEE
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFEE#FFFFFF#000000##000000
##C2AFEE1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B9F1
Deuteranopia (green-blind)
#A4B8EC
Tritanopia (blue-blind)
#BAB9C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2afee;
/* rgb */ color: rgb(194, 175, 238);
/* oklch */ color: oklch(79.2% 0.090 298.2);
Tailwind
colors: {
  custom: {
    50: '#d5c7f3',
    500: '#c2afee',
    950: '#000000',
  },
}
SCSS
$custom: #c2afee;
$custom-light: #d5c7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c2afee",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 258.095,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79203,
    "c": 0.09014,
    "h": 298.2
  },
  "luminance": 0.48302
}

Semantic roles & 50–950 ramp

primary
#C2AFEE
secondary
#EAF1DA
accent
#CD1996
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141317
muted
#838285

Preview Lab

Preview with #C2AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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