#C8A1F8#C8A1F8

#C8A1F8 is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.6% C 0.127 H 304.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C8A1F8
RGBrgb(200, 161, 248)
HSLhsl(267, 86%, 80%)
HSVhsv(267, 35%, 97%)
CMYKcmyk(19.4%, 35.1%, 0%, 2.7%)
CIE-LABlab(72.59, 30.98, -38.08)
CIE-LCHlch(72.59, 49.09, 309.13°)
OKLaboklab(77.6% 0.0715 -0.1053)
OKLCHoklch(77.6% 0.127 304.2)
XYZxyz(53.5041, 44.5466, 94.5684)
Luminance0.4455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1F8 #D1F8A1
analogous
#A1A5F8 #C8A1F8 #F4A1F8
triadic
#C8A1F8 #F8C8A1 #A1F8C8
tetradic
#C8A1F8 #F8A1A5 #D1F8A1 #A1F8F4
square
#C8A1F8 #F8A1A5 #D1F8A1 #A1F8F4
split-complementary
#C8A1F8 #F8F4A1 #A5F8A1
monochromatic
#852FF0 #A768F4 #C8A1F8 #E9DAFC #EEE3FD

Accessibility & contrast

On white

2.12
#C8A1F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C8A1F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1F8
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1F8#FFFFFF#000000##000000
##C8A1F81.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FB
Deuteranopia (green-blind)
#96B2F6
Tritanopia (blue-blind)
#C0AEC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a1f8;
/* rgb */ color: rgb(200, 161, 248);
/* oklch */ color: oklch(77.6% 0.127 304.2);
Tailwind
colors: {
  custom: {
    50: '#dabdfb',
    500: '#c8a1f8',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1f8;
$custom-light: #dabdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1f8",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 266.897,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.776,
    "c": 0.12732,
    "h": 304.2
  },
  "luminance": 0.44546
}

Semantic roles & 50–950 ramp

primary
#C8A1F8
secondary
#E7F5D6
accent
#E3037E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1F8

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

Preview Lab → · Contrast checker → · Palette generator →

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