#C5AFFE#C5AFFE

#C5AFFE is a light, moderate violet. Relative luminance 0.497; OKLCH L 80.1% C 0.112 H 296.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C5AFFE
RGBrgb(197, 175, 254)
HSLhsl(257, 98%, 84%)
HSVhsv(257, 31%, 100%)
CMYKcmyk(22.4%, 31.1%, 0%, 0.4%)
CIE-LABlab(75.88, 23.75, -36.24)
CIE-LCHlch(75.88, 43.33, 303.24°)
OKLaboklab(80.13% 0.0501 -0.1002)
OKLCHoklch(80.13% 0.112 296.6)
XYZxyz(56.2413, 49.6856, 100.3740)
Luminance0.4969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AFFE #E8FEAF
analogous
#AFC1FE #C5AFFE #EDAFFE
triadic
#C5AFFE #FEC5AF #AFFEC5
tetradic
#C5AFFE #FEAFC1 #E8FEAF #AFFEED
square
#C5AFFE #FEAFC1 #E8FEAF #AFFEED
split-complementary
#C5AFFE #FEEDAF #C1FEAF
monochromatic
#6D36FC #9973FD #C5AFFE #E9E1FF #E9E1FF

Accessibility & contrast

On white

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

On black

10.94
#C5AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AFFE
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AFFE#FFFFFF#000000##000000
##C5AFFE1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#9FBAFC
Tritanopia (blue-blind)
#BABCCB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5affe;
/* rgb */ color: rgb(197, 175, 254);
/* oklch */ color: oklch(80.1% 0.112 296.6);
Tailwind
colors: {
  custom: {
    50: '#d7c7ff',
    500: '#c5affe',
    950: '#000000',
  },
}
SCSS
$custom: #c5affe;
$custom-light: #d7c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c5affe",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 256.709,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80127,
    "c": 0.11202,
    "h": 296.6
  },
  "luminance": 0.49686
}

Semantic roles & 50–950 ramp

primary
#C5AFFE
secondary
#EDF7D4
accent
#E600A6
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C5AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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