#C4AFFE#C4AFFE

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

Color values

HEX#C4AFFE
RGBrgb(196, 175, 254)
HSLhsl(256, 98%, 84%)
HSVhsv(256, 31%, 100%)
CMYKcmyk(22.8%, 31.1%, 0%, 0.4%)
CIE-LABlab(75.79, 23.46, -36.38)
CIE-LCHlch(75.79, 43.28, 302.82°)
OKLaboklab(80.04% 0.049 -0.1006)
OKLCHoklch(80.04% 0.112 296)
XYZxyz(55.9802, 49.5510, 100.3617)
Luminance0.4955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AFFE #E9FEAF
analogous
#AFC2FE #C4AFFE #EBAFFE
triadic
#C4AFFE #FEC4AF #AFFEC4
tetradic
#C4AFFE #FEAFC2 #E9FEAF #AFFEEB
square
#C4AFFE #FEAFC2 #E9FEAF #AFFEEB
split-complementary
#C4AFFE #FEEBAF #C2FEAF
monochromatic
#6B36FC #9773FD #C4AFFE #E9E1FF #E9E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AFFE#FFFFFF#000000##000000
##C4AFFE1.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)
#9CBBFF
Deuteranopia (green-blind)
#9FBAFC
Tritanopia (blue-blind)
#B9BCCB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4affe;
/* rgb */ color: rgb(196, 175, 254);
/* oklch */ color: oklch(80.0% 0.112 296.0);
Tailwind
colors: {
  custom: {
    50: '#d7c7ff',
    500: '#c4affe',
    950: '#000000',
  },
}
SCSS
$custom: #c4affe;
$custom-light: #d7c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c4affe",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 255.949,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80043,
    "c": 0.1119,
    "h": 296
  },
  "luminance": 0.49551
}

Semantic roles & 50–950 ramp

primary
#C4AFFE
secondary
#EEF7D4
accent
#E600A8
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C4AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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