#C2A1F8#C2A1F8

#C2A1F8 is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.1% C 0.126 H 300.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C2A1F8
RGBrgb(194, 161, 248)
HSLhsl(263, 86%, 80%)
HSVhsv(263, 35%, 97%)
CMYKcmyk(21.8%, 35.1%, 0%, 2.7%)
CIE-LABlab(72.05, 29.23, -38.96)
CIE-LCHlch(72.05, 48.70, 306.88°)
OKLaboklab(77.06% 0.0647 -0.108)
OKLCHoklch(77.06% 0.126 300.9)
XYZxyz(51.9326, 43.7363, 94.4947)
Luminance0.4374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A1F8 #D7F8A1
analogous
#A1ABF8 #C2A1F8 #EEA1F8
triadic
#C2A1F8 #F8C2A1 #A1F8C2
tetradic
#C2A1F8 #F8A1AB #D7F8A1 #A1F8EE
square
#C2A1F8 #F8A1AB #D7F8A1 #A1F8EE
split-complementary
#C2A1F8 #F8EEA1 #ABF8A1
monochromatic
#782FF0 #9D68F4 #C2A1F8 #E7DAFC #EDE3FD

Accessibility & contrast

On white

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

On black

9.75
#C2A1F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A1F8
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A1F8#FFFFFF#000000##000000
##C2A1F81.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FB
Deuteranopia (green-blind)
#93B0F6
Tritanopia (blue-blind)
#B8AFC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2a1f8;
/* rgb */ color: rgb(194, 161, 248);
/* oklch */ color: oklch(77.1% 0.126 300.9);
Tailwind
colors: {
  custom: {
    50: '#d6bdfb',
    500: '#c2a1f8',
    950: '#000000',
  },
}
SCSS
$custom: #c2a1f8;
$custom-light: #d6bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a1f8",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 262.759,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77061,
    "c": 0.12588,
    "h": 300.9
  },
  "luminance": 0.43736
}

Semantic roles & 50–950 ramp

primary
#C2A1F8
secondary
#E9F5D6
accent
#E3038E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141217
muted
#838185

Preview Lab

Preview with #C2A1F8

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

Preview Lab → · Contrast checker → · Palette generator →

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