#C7A4F0#C7A4F0

#C7A4F0 is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.7% C 0.112 H 305.0°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C7A4F0
RGBrgb(199, 164, 240)
HSLhsl(268, 72%, 79%)
HSVhsv(268, 32%, 94%)
CMYKcmyk(17.1%, 31.7%, 0%, 5.9%)
CIE-LABlab(72.88, 27.27, -33.29)
CIE-LCHlch(72.88, 43.03, 309.33°)
OKLaboklab(77.69% 0.0643 -0.0917)
OKLCHoklch(77.69% 0.112 305)
XYZxyz(52.5537, 44.9845, 88.3354)
Luminance0.4498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A4F0 #CDF0A4
analogous
#A4A7F0 #C7A4F0 #EDA4F0
triadic
#C7A4F0 #F0C7A4 #A4F0C7
tetradic
#C7A4F0 #F0A4A7 #CDF0A4 #A4F0ED
square
#C7A4F0 #F0A4A7 #CDF0A4 #A4F0ED
split-complementary
#C7A4F0 #F0EDA4 #A7F0A4
monochromatic
#863BDF #A76FE7 #C7A4F0 #E7D9F9 #EFE5FB

Accessibility & contrast

On white

2.10
#C7A4F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#C7A4F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A4F0
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A4F0#FFFFFF#000000##000000
##C7A4F01.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F3
Deuteranopia (green-blind)
#9CB3EE
Tritanopia (blue-blind)
#C1AFC0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7a4f0;
/* rgb */ color: rgb(199, 164, 240);
/* oklch */ color: oklch(77.7% 0.112 305.0);
Tailwind
colors: {
  custom: {
    50: '#d9bff5',
    500: '#c7a4f0',
    950: '#000000',
  },
}
SCSS
$custom: #c7a4f0;
$custom-light: #d9bff5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a4f0",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 240
  },
  "hsl": {
    "h": 267.632,
    "s": 71.698,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77694,
    "c": 0.11195,
    "h": 305
  },
  "luminance": 0.44984
}

Semantic roles & 50–950 ramp

primary
#C7A4F0
secondary
#E7F2D9
accent
#D4127A
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C7A4F0

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

Preview Lab → · Contrast checker → · Palette generator →

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