#C4A7E9#C4A7E9

#C4A7E9 is a light, moderate violet. Relative luminance 0.453; OKLCH L 77.7% C 0.097 H 304.3°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C4A7E9
RGBrgb(196, 167, 233)
HSLhsl(266, 60%, 78%)
HSVhsv(266, 28%, 91%)
CMYKcmyk(15.9%, 28.3%, 0%, 8.6%)
CIE-LABlab(73.06, 23.18, -29.23)
CIE-LCHlch(73.06, 37.30, 308.42°)
OKLaboklab(77.68% 0.0548 -0.0802)
OKLCHoklch(77.68% 0.097 304.3)
XYZxyz(51.2887, 45.2565, 83.1084)
Luminance0.4526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A7E9 #CCE9A7
analogous
#A7ABE9 #C4A7E9 #E5A7E9
triadic
#C4A7E9 #E9C4A7 #A7E9C4
tetradic
#C4A7E9 #E9A7AB #CCE9A7 #A7E9E5
square
#C4A7E9 #E9A7AB #CCE9A7 #A7E9E5
split-complementary
#C4A7E9 #E9E5A7 #ABE9A7
monochromatic
#8245D1 #A376DD #C4A7E9 #E5D8F5 #EFE7F9

Accessibility & contrast

On white

2.09
#C4A7E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#C4A7E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A7E9
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A7E9#FFFFFF#000000##000000
##C4A7E91.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB2EC
Deuteranopia (green-blind)
#A0B3E7
Tritanopia (blue-blind)
#BEB0BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4a7e9;
/* rgb */ color: rgb(196, 167, 233);
/* oklch */ color: oklch(77.7% 0.097 304.3);
Tailwind
colors: {
  custom: {
    50: '#d6c1f0',
    500: '#c4a7e9',
    950: '#000000',
  },
}
SCSS
$custom: #c4a7e9;
$custom-light: #d6c1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a7e9",
  "rgb": {
    "r": 196,
    "g": 167,
    "b": 233
  },
  "hsl": {
    "h": 266.364,
    "s": 60,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77679,
    "c": 0.09709,
    "h": 304.3
  },
  "luminance": 0.45256
}

Semantic roles & 50–950 ramp

primary
#C4A7E9
secondary
#E7F0DB
accent
#C81E7D
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C4A7E9

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

Preview Lab → · Contrast checker → · Palette generator →

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