#C5AFFC#C5AFFC

#C5AFFC is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.0% C 0.109 H 297.0°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C5AFFC
RGBrgb(197, 175, 252)
HSLhsl(257, 93%, 84%)
HSVhsv(257, 31%, 99%)
CMYKcmyk(21.8%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.80, 23.30, -35.29)
CIE-LCHlch(75.80, 42.28, 303.43°)
OKLaboklab(80.04% 0.0496 -0.0974)
OKLCHoklch(80.04% 0.109 297)
XYZxyz(55.9227, 49.5581, 98.6960)
Luminance0.4956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AFFC #E6FCAF
analogous
#AFBFFC #C5AFFC #EBAFFC
triadic
#C5AFFC #FCC5AF #AFFCC5
tetradic
#C5AFFC #FCAFBF #E6FCAF #AFFCEB
square
#C5AFFC #FCAFBF #E6FCAF #AFFCEB
split-complementary
#C5AFFC #FCEBAF #BFFCAF
monochromatic
#6F39F8 #9A74FA #C5AFFC #EAE2FE #EAE2FE

Accessibility & contrast

On white

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

On black

10.91
#C5AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AFFC
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AFFC#FFFFFF#000000##000000
##C5AFFC1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5affc;
/* rgb */ color: rgb(197, 175, 252);
/* oklch */ color: oklch(80.0% 0.109 297.0);
Tailwind
colors: {
  custom: {
    50: '#d7c7fd',
    500: '#c5affc',
    950: '#000000',
  },
}
SCSS
$custom: #c5affc;
$custom-light: #d7c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c5affc",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 257.143,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.8004,
    "c": 0.10936,
    "h": 297
  },
  "luminance": 0.49559
}

Semantic roles & 50–950 ramp

primary
#C5AFFC
secondary
#EDF6D5
accent
#E600A4
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C5AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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