#C8A1F2#C8A1F2

#C8A1F2 is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.3% C 0.120 H 305.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C8A1F2
RGBrgb(200, 161, 242)
HSLhsl(269, 76%, 79%)
HSVhsv(269, 33%, 95%)
CMYKcmyk(17.4%, 33.5%, 0%, 5.1%)
CIE-LABlab(72.35, 29.66, -35.19)
CIE-LCHlch(72.35, 46.03, 310.12°)
OKLaboklab(77.33% 0.0702 -0.0971)
OKLCHoklch(77.33% 0.12 305.9)
XYZxyz(52.5882, 44.1802, 89.7444)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1F2 #CBF2A1
analogous
#A1A3F2 #C8A1F2 #F1A1F2
triadic
#C8A1F2 #F2C8A1 #A1F2C8
tetradic
#C8A1F2 #F2A1A3 #CBF2A1 #A1F2F1
square
#C8A1F2 #F2A1A3 #CBF2A1 #A1F2F1
split-complementary
#C8A1F2 #F2F1A1 #A3F2A1
monochromatic
#8935E3 #A96BEB #C8A1F2 #E7D7F9 #EFE4FB

Accessibility & contrast

On white

2.14
#C8A1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C8A1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1F2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1F2#FFFFFF#000000##000000
##C8A1F21.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#99B2F0
Tritanopia (blue-blind)
#C2ADBF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a1f2;
/* rgb */ color: rgb(200, 161, 242);
/* oklch */ color: oklch(77.3% 0.120 305.9);
Tailwind
colors: {
  custom: {
    50: '#d9bdf6',
    500: '#c8a1f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1f2;
$custom-light: #d9bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1f2",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 268.889,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.11976,
    "h": 305.9
  },
  "luminance": 0.4418
}

Semantic roles & 50–950 ramp

primary
#C8A1F2
secondary
#E6F3D8
accent
#D80E76
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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