#C8ACFA#C8ACFA

#C8ACFA is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.7% C 0.112 H 300.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C8ACFA
RGBrgb(200, 172, 250)
HSLhsl(262, 89%, 83%)
HSVhsv(262, 31%, 98%)
CMYKcmyk(20%, 31.2%, 0%, 2%)
CIE-LABlab(75.26, 25.38, -35.03)
CIE-LCHlch(75.26, 43.26, 305.93°)
OKLaboklab(79.66% 0.0566 -0.0966)
OKLCHoklch(79.66% 0.112 300.4)
XYZxyz(55.8236, 48.6864, 96.8804)
Luminance0.4869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ACFA #DEFAAC
analogous
#ACB7FA #C8ACFA #EFACFA
triadic
#C8ACFA #FAC8AC #ACFAC8
tetradic
#C8ACFA #FAACB7 #DEFAAC #ACFAEF
square
#C8ACFA #FAACB7 #DEFAAC #ACFAEF
split-complementary
#C8ACFA #FAEFAC #B7FAAC
monochromatic
#7B39F3 #A272F7 #C8ACFA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.96
#C8ACFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C8ACFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8ACFA
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8ACFA#FFFFFF#000000##000000
##C8ACFA1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#BFB8C8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8acfa;
/* rgb */ color: rgb(200, 172, 250);
/* oklch */ color: oklch(79.7% 0.112 300.4);
Tailwind
colors: {
  custom: {
    50: '#d9c5fc',
    500: '#c8acfa',
    950: '#000000',
  },
}
SCSS
$custom: #c8acfa;
$custom-light: #d9c5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8acfa",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 250
  },
  "hsl": {
    "h": 261.538,
    "s": 88.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.7966,
    "c": 0.11201,
    "h": 300.4
  },
  "luminance": 0.48687
}

Semantic roles & 50–950 ramp

primary
#C8ACFA
secondary
#EAF5D6
accent
#E50093
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8ACFA

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

Preview Lab → · Contrast checker → · Palette generator →

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