#C2AFFF#C2AFFF

#C2AFFF is a light, moderate violet. Relative luminance 0.493; OKLCH L 79.9% C 0.113 H 294.6°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C2AFFF
RGBrgb(194, 175, 255)
HSLhsl(254, 100%, 84%)
HSVhsv(254, 31%, 100%)
CMYKcmyk(23.9%, 31.4%, 0%, 0%)
CIE-LABlab(75.67, 23.11, -37.12)
CIE-LCHlch(75.67, 43.73, 301.90°)
OKLaboklab(79.92% 0.0471 -0.1027)
OKLCHoklch(79.92% 0.113 294.6)
XYZxyz(55.6239, 49.3487, 101.1831)
Luminance0.4935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFFF #ECFFAF
analogous
#AFC4FF #C2AFFF #EAAFFF
triadic
#C2AFFF #FFC2AF #AFFFC2
tetradic
#C2AFFF #FFAFC4 #ECFFAF #AFFFEA
square
#C2AFFF #FFAFC4 #ECFFAF #AFFFEA
split-complementary
#C2AFFF #FFEAAF #C4FFAF
monochromatic
#6535FF #9372FF #C2AFFF #E8E0FF #E8E0FF

Accessibility & contrast

On white

1.93
#C2AFFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#C2AFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFFF
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFFF#FFFFFF#000000##000000
##C2AFFF1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBBFF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#B6BCCC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2afff;
/* rgb */ color: rgb(194, 175, 255);
/* oklch */ color: oklch(79.9% 0.113 294.6);
Tailwind
colors: {
  custom: {
    50: '#d5c7ff',
    500: '#c2afff',
    950: '#000000',
  },
}
SCSS
$custom: #c2afff;
$custom-light: #d5c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c2afff",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 254.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.7992,
    "c": 0.11302,
    "h": 294.6
  },
  "luminance": 0.49349
}

Semantic roles & 50–950 ramp

primary
#C2AFFF
secondary
#EFF7D4
accent
#E600AF
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C2AFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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