#C2ACFB#C2ACFB

#C2ACFB is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.2% C 0.112 H 296.5°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#C2ACFB
RGBrgb(194, 172, 251)
HSLhsl(257, 91%, 83%)
HSVhsv(257, 31%, 98%)
CMYKcmyk(22.7%, 31.5%, 0%, 1.6%)
CIE-LABlab(74.79, 23.84, -36.33)
CIE-LCHlch(74.79, 43.46, 303.27°)
OKLaboklab(79.19% 0.0502 -0.1005)
OKLCHoklch(79.19% 0.112 296.5)
XYZxyz(54.4093, 47.9390, 97.6347)
Luminance0.4794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2ACFB #E5FBAC
analogous
#ACBDFB #C2ACFB #EAACFB
triadic
#C2ACFB #FBC2AC #ACFBC2
tetradic
#C2ACFB #FBACBD #E5FBAC #ACFBEA
square
#C2ACFB #FBACBD #E5FBAC #ACFBEA
split-complementary
#C2ACFB #FBEAAC #BDFBAC
monochromatic
#6C37F5 #9772F8 #C2ACFB #EAE2FE #EAE2FE

Accessibility & contrast

On white

1.98
#C2ACFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#C2ACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2ACFB
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2ACFB#FFFFFF#000000##000000
##C2ACFB1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FE
Deuteranopia (green-blind)
#9CB7F9
Tritanopia (blue-blind)
#B7B9C9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c2acfb;
/* rgb */ color: rgb(194, 172, 251);
/* oklch */ color: oklch(79.2% 0.112 296.5);
Tailwind
colors: {
  custom: {
    50: '#d5c4fd',
    500: '#c2acfb',
    950: '#000000',
  },
}
SCSS
$custom: #c2acfb;
$custom-light: #d5c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c2acfb",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 256.709,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79192,
    "c": 0.11232,
    "h": 296.5
  },
  "luminance": 0.47939
}

Semantic roles & 50–950 ramp

primary
#C2ACFB
secondary
#EDF6D5
accent
#E600A6
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141217
muted
#838185

Preview Lab

Preview with #C2ACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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