#C2A1F7#C2A1F7

#C2A1F7 is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.0% C 0.125 H 301.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C2A1F7
RGBrgb(194, 161, 247)
HSLhsl(263, 84%, 80%)
HSVhsv(263, 35%, 97%)
CMYKcmyk(21.5%, 34.8%, 0%, 3.1%)
CIE-LABlab(72.01, 29.00, -38.48)
CIE-LCHlch(72.01, 48.18, 307.00°)
OKLaboklab(77.02% 0.0645 -0.1066)
OKLCHoklch(77.02% 0.125 301.2)
XYZxyz(51.7779, 43.6744, 93.6798)
Luminance0.4367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A1F7 #D6F7A1
analogous
#A1ABF7 #C2A1F7 #EDA1F7
triadic
#C2A1F7 #F7C2A1 #A1F7C2
tetradic
#C2A1F7 #F7A1AB #D6F7A1 #A1F7ED
square
#C2A1F7 #F7A1AB #D6F7A1 #A1F7ED
split-complementary
#C2A1F7 #F7EDA1 #ABF7A1
monochromatic
#7930ED #9D69F2 #C2A1F7 #E7D9FC #EDE3FD

Accessibility & contrast

On white

2.16
#C2A1F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C2A1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A1F7
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A1F7#FFFFFF#000000##000000
##C2A1F71.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FA
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#B9AFC1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2a1f7;
/* rgb */ color: rgb(194, 161, 247);
/* oklch */ color: oklch(77.0% 0.125 301.2);
Tailwind
colors: {
  custom: {
    50: '#d5bdfa',
    500: '#c2a1f7',
    950: '#000000',
  },
}
SCSS
$custom: #c2a1f7;
$custom-light: #d5bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a1f7",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 263.023,
    "s": 84.314,
    "l": 80
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.12459,
    "h": 301.2
  },
  "luminance": 0.43674
}

Semantic roles & 50–950 ramp

primary
#C2A1F7
secondary
#E9F5D6
accent
#E1058C
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141217
muted
#838185

Preview Lab

Preview with #C2A1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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