#C8A2F5#C8A2F5

#C8A2F5 is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.6% C 0.122 H 304.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#C8A2F5
RGBrgb(200, 162, 245)
HSLhsl(267, 81%, 80%)
HSVhsv(267, 34%, 96%)
CMYKcmyk(18.4%, 33.9%, 0%, 3.9%)
CIE-LABlab(72.70, 29.77, -36.28)
CIE-LCHlch(72.70, 46.93, 309.37°)
OKLaboklab(77.64% 0.0694 -0.1002)
OKLCHoklch(77.64% 0.122 304.7)
XYZxyz(53.2179, 44.7128, 92.1953)
Luminance0.4471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2F5 #CFF5A2
analogous
#A2A5F5 #C8A2F5 #F2A2F5
triadic
#C8A2F5 #F5C8A2 #A2F5C8
tetradic
#C8A2F5 #F5A2A5 #CFF5A2 #A2F5F2
square
#C8A2F5 #F5A2A5 #CFF5A2 #A2F5F2
split-complementary
#C8A2F5 #F5F2A2 #A5F5A2
monochromatic
#8733E9 #A76BEF #C8A2F5 #E9D9FB #EFE3FC

Accessibility & contrast

On white

2.11
#C8A2F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#C8A2F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2F5
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2F5#FFFFFF#000000##000000
##C8A2F51.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F8
Deuteranopia (green-blind)
#98B3F3
Tritanopia (blue-blind)
#C1AEC0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a2f5;
/* rgb */ color: rgb(200, 162, 245);
/* oklch */ color: oklch(77.6% 0.122 304.7);
Tailwind
colors: {
  custom: {
    50: '#dabef8',
    500: '#c8a2f5',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2f5;
$custom-light: #dabef8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2f5",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 245
  },
  "hsl": {
    "h": 267.47,
    "s": 80.583,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77644,
    "c": 0.12188,
    "h": 304.7
  },
  "luminance": 0.44713
}

Semantic roles & 50–950 ramp

primary
#C8A2F5
secondary
#E7F4D7
accent
#DD097C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2F5

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

Preview Lab → · Contrast checker → · Palette generator →

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