#C7A1F0#C7A1F0

#C7A1F0 is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.2% C 0.117 H 305.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C7A1F0
RGBrgb(199, 161, 240)
HSLhsl(269, 72%, 79%)
HSVhsv(269, 33%, 94%)
CMYKcmyk(17.1%, 32.9%, 0%, 5.9%)
CIE-LABlab(72.18, 28.93, -34.38)
CIE-LCHlch(72.18, 44.93, 310.08°)
OKLaboklab(77.16% 0.0685 -0.0948)
OKLCHoklch(77.16% 0.117 305.9)
XYZxyz(52.0232, 43.9234, 88.1586)
Luminance0.4392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A1F0 #CAF0A1
analogous
#A1A2F0 #C7A1F0 #EEA1F0
triadic
#C7A1F0 #F0C7A1 #A1F0C7
tetradic
#C7A1F0 #F0A1A2 #CAF0A1 #A1F0EE
square
#C7A1F0 #F0A1A2 #CAF0A1 #A1F0EE
split-complementary
#C7A1F0 #F0EEA1 #A2F0A1
monochromatic
#8837DF #A86CE8 #C7A1F0 #E6D6F8 #EFE5FB

Accessibility & contrast

On white

2.15
#C7A1F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C7A1F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A1F0
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A1F0#FFFFFF#000000##000000
##C7A1F01.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F3
Deuteranopia (green-blind)
#99B1EE
Tritanopia (blue-blind)
#C1ADBE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7a1f0;
/* rgb */ color: rgb(199, 161, 240);
/* oklch */ color: oklch(77.2% 0.117 305.9);
Tailwind
colors: {
  custom: {
    50: '#d9bdf5',
    500: '#c7a1f0',
    950: '#000000',
  },
}
SCSS
$custom: #c7a1f0;
$custom-light: #d9bdf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a1f0",
  "rgb": {
    "r": 199,
    "g": 161,
    "b": 240
  },
  "hsl": {
    "h": 268.861,
    "s": 72.477,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77156,
    "c": 0.11694,
    "h": 305.9
  },
  "luminance": 0.43923
}

Semantic roles & 50–950 ramp

primary
#C7A1F0
secondary
#E6F2D9
accent
#D51176
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C7A1F0

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

Preview Lab → · Contrast checker → · Palette generator →

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