#C8A2FC#C8A2FC

#C8A2FC is a light, vivid violet. Relative luminance 0.451; OKLCH L 78.0% C 0.131 H 302.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C8A2FC
RGBrgb(200, 162, 252)
HSLhsl(265, 94%, 81%)
HSVhsv(265, 36%, 99%)
CMYKcmyk(20.6%, 35.7%, 0%, 1.2%)
CIE-LABlab(72.99, 31.32, -39.63)
CIE-LCHlch(72.99, 50.51, 308.33°)
OKLaboklab(77.96% 0.071 -0.1098)
OKLCHoklch(77.96% 0.131 302.9)
XYZxyz(54.3067, 45.1483, 97.9301)
Luminance0.4515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2FC #D6FCA2
analogous
#A2A9FC #C8A2FC #F5A2FC
triadic
#C8A2FC #FCC8A2 #A2FCC8
tetradic
#C8A2FC #FCA2A9 #D6FCA2 #A2FCF5
square
#C8A2FC #FCA2A9 #D6FCA2 #A2FCF5
split-complementary
#C8A2FC #FCF5A2 #A9FCA2
monochromatic
#822BF8 #A567FA #C8A2FC #EBDDFE #EDE1FE

Accessibility & contrast

On white

2.09
#C8A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C8A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2FC
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2FC#FFFFFF#000000##000000
##C8A2FC1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#BFB0C3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2fc;
/* rgb */ color: rgb(200, 162, 252);
/* oklch */ color: oklch(78.0% 0.131 302.9);
Tailwind
colors: {
  custom: {
    50: '#dabefd',
    500: '#c8a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2fc;
$custom-light: #dabefd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2fc",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 265.333,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.13076,
    "h": 302.9
  },
  "luminance": 0.45148
}

Semantic roles & 50–950 ramp

primary
#C8A2FC
secondary
#E8F6D5
accent
#E60085
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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