#C7AFFC#C7AFFC

#C7AFFC is a light, moderate violet. Relative luminance 0.498; OKLCH L 80.2% C 0.110 H 298.2°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C7AFFC
RGBrgb(199, 175, 252)
HSLhsl(259, 93%, 84%)
HSVhsv(259, 31%, 99%)
CMYKcmyk(21%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.96, 23.89, -35.01)
CIE-LCHlch(75.96, 42.39, 304.30°)
OKLaboklab(80.21% 0.0518 -0.0966)
OKLCHoklch(80.21% 0.11 298.2)
XYZxyz(56.4500, 49.8300, 98.7208)
Luminance0.4983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AFFC #E4FCAF
analogous
#AFBDFC #C7AFFC #EDAFFC
triadic
#C7AFFC #FCC7AF #AFFCC7
tetradic
#C7AFFC #FCAFBD #E4FCAF #AFFCED
square
#C7AFFC #FCAFBD #E4FCAF #AFFCED
split-complementary
#C7AFFC #FCEDAF #BDFCAF
monochromatic
#7439F8 #9E74FA #C7AFFC #EAE2FE #EAE2FE

Accessibility & contrast

On white

1.92
#C7AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C7AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AFFC
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AFFC#FFFFFF#000000##000000
##C7AFFC1.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7affc;
/* rgb */ color: rgb(199, 175, 252);
/* oklch */ color: oklch(80.2% 0.110 298.2);
Tailwind
colors: {
  custom: {
    50: '#d9c7fd',
    500: '#c7affc',
    950: '#000000',
  },
}
SCSS
$custom: #c7affc;
$custom-light: #d9c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c7affc",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 258.701,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80209,
    "c": 0.10967,
    "h": 298.2
  },
  "luminance": 0.4983
}

Semantic roles & 50–950 ramp

primary
#C7AFFC
secondary
#ECF6D5
accent
#E6009E
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151317
muted
#838285

Preview Lab

Preview with #C7AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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