#C7AFFE#C7AFFE

#C7AFFE is a light, moderate violet. Relative luminance 0.500; OKLCH L 80.3% C 0.112 H 297.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C7AFFE
RGBrgb(199, 175, 254)
HSLhsl(258, 98%, 84%)
HSVhsv(258, 31%, 100%)
CMYKcmyk(21.7%, 31.1%, 0%, 0.4%)
CIE-LABlab(76.04, 24.34, -35.97)
CIE-LCHlch(76.04, 43.43, 304.08°)
OKLaboklab(80.3% 0.0524 -0.0994)
OKLCHoklch(80.3% 0.112 297.8)
XYZxyz(56.7686, 49.9575, 100.3987)
Luminance0.4996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AFFE #E6FEAF
analogous
#AFBFFE #C7AFFE #EFAFFE
triadic
#C7AFFE #FEC7AF #AFFEC7
tetradic
#C7AFFE #FEAFBF #E6FEAF #AFFEEF
square
#C7AFFE #FEAFBF #E6FEAF #AFFEEF
split-complementary
#C7AFFE #FEEFAF #BFFEAF
monochromatic
#7236FC #9D73FD #C7AFFE #EAE1FF #EAE1FF

Accessibility & contrast

On white

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

On black

10.99
#C7AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AFFE
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AFFE#FFFFFF#000000##000000
##C7AFFE1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7affe;
/* rgb */ color: rgb(199, 175, 254);
/* oklch */ color: oklch(80.3% 0.112 297.8);
Tailwind
colors: {
  custom: {
    50: '#d9c7ff',
    500: '#c7affe',
    950: '#000000',
  },
}
SCSS
$custom: #c7affe;
$custom-light: #d9c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c7affe",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 258.228,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80295,
    "c": 0.11232,
    "h": 297.8
  },
  "luminance": 0.49958
}

Semantic roles & 50–950 ramp

primary
#C7AFFE
secondary
#ECF7D4
accent
#E600A0
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151318
muted
#838286

Preview Lab

Preview with #C7AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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