#C8A2FB#C8A2FB

#C8A2FB is a light, vivid violet. Relative luminance 0.451; OKLCH L 77.9% C 0.129 H 303.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C8A2FB
RGBrgb(200, 162, 251)
HSLhsl(266, 92%, 81%)
HSVhsv(266, 35%, 98%)
CMYKcmyk(20.3%, 35.5%, 0%, 1.6%)
CIE-LABlab(72.95, 31.10, -39.15)
CIE-LCHlch(72.95, 50.00, 308.46°)
OKLaboklab(77.91% 0.0708 -0.1084)
OKLCHoklch(77.91% 0.129 303.2)
XYZxyz(54.1487, 45.0851, 97.0977)
Luminance0.4508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2FB #D5FBA2
analogous
#A2A8FB #C8A2FB #F4A2FB
triadic
#C8A2FB #FBC8A2 #A2FBC8
tetradic
#C8A2FB #FBA2A8 #D5FBA2 #A2FBF4
square
#C8A2FB #FBA2A8 #D5FBA2 #A2FBF4
split-complementary
#C8A2FB #FBF4A2 #A8FBA2
monochromatic
#832DF6 #A567F8 #C8A2FB #EBDDFE #EEE2FE

Accessibility & contrast

On white

2.10
#C8A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C8A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2FB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2FB#FFFFFF#000000##000000
##C8A2FB1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FE
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#C0B0C3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2fb;
/* rgb */ color: rgb(200, 162, 251);
/* oklch */ color: oklch(77.9% 0.129 303.2);
Tailwind
colors: {
  custom: {
    50: '#dabefd',
    500: '#c8a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2fb;
$custom-light: #dabefd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2fb",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 265.618,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77912,
    "c": 0.12949,
    "h": 303.2
  },
  "luminance": 0.45085
}

Semantic roles & 50–950 ramp

primary
#C8A2FB
secondary
#E8F6D5
accent
#E60084
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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