#C7AFFD#C7AFFD

#C7AFFD is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.3% C 0.111 H 298.0°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C7AFFD
RGBrgb(199, 175, 253)
HSLhsl(258, 95%, 84%)
HSVhsv(258, 31%, 99%)
CMYKcmyk(21.3%, 30.8%, 0%, 0.8%)
CIE-LABlab(76.00, 24.11, -35.49)
CIE-LCHlch(76.00, 42.91, 304.19°)
OKLaboklab(80.25% 0.0521 -0.098)
OKLCHoklch(80.25% 0.111 298)
XYZxyz(56.6088, 49.8936, 99.5575)
Luminance0.4989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AFFD #E5FDAF
analogous
#AFBEFD #C7AFFD #EEAFFD
triadic
#C7AFFD #FDC7AF #AFFDC7
tetradic
#C7AFFD #FDAFBE #E5FDAF #AFFDEE
square
#C7AFFD #FDAFBE #E5FDAF #AFFDEE
split-complementary
#C7AFFD #FDEEAF #BEFDAF
monochromatic
#7338FA #9D73FC #C7AFFD #EAE1FE #EAE1FE

Accessibility & contrast

On white

1.91
#C7AFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#C7AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AFFD
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AFFD#FFFFFF#000000##000000
##C7AFFD1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBCFF
Deuteranopia (green-blind)
#A1BBFB
Tritanopia (blue-blind)
#BDBBCB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7affd;
/* rgb */ color: rgb(199, 175, 253);
/* oklch */ color: oklch(80.3% 0.111 298.0);
Tailwind
colors: {
  custom: {
    50: '#d9c7fe',
    500: '#c7affd',
    950: '#000000',
  },
}
SCSS
$custom: #c7affd;
$custom-light: #d9c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c7affd",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 258.462,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.80252,
    "c": 0.11099,
    "h": 298
  },
  "luminance": 0.49894
}

Semantic roles & 50–950 ramp

primary
#C7AFFD
secondary
#ECF6D5
accent
#E6009F
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151318
muted
#838286

Preview Lab

Preview with #C7AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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