#C8A2FF#C8A2FF

#C8A2FF is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.1% C 0.135 H 302.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C8A2FF
RGBrgb(200, 162, 255)
HSLhsl(265, 100%, 82%)
HSVhsv(265, 36%, 100%)
CMYKcmyk(21.6%, 36.5%, 0%, 0%)
CIE-LABlab(73.12, 32.00, -41.05)
CIE-LCHlch(73.12, 52.05, 307.93°)
OKLaboklab(78.09% 0.0717 -0.1139)
OKLCHoklch(78.09% 0.135 302.2)
XYZxyz(54.7859, 45.3400, 100.4536)
Luminance0.4534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2FF #D9FFA2
analogous
#A2ABFF #C8A2FF #F6A2FF
triadic
#C8A2FF #FFC8A2 #A2FFC8
tetradic
#C8A2FF #FFA2AB #D9FFA2 #A2FFF6
square
#C8A2FF #FFA2AB #D9FFA2 #A2FFF6
split-complementary
#C8A2FF #FFF6A2 #ABFFA2
monochromatic
#8028FF #A465FF #C8A2FF #ECDFFF #EDE0FF

Accessibility & contrast

On white

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

On black

10.07
#C8A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2FF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2FF#FFFFFF#000000##000000
##C8A2FF1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#BFB1C5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2ff;
/* rgb */ color: rgb(200, 162, 255);
/* oklch */ color: oklch(78.1% 0.135 302.2);
Tailwind
colors: {
  custom: {
    50: '#dabeff',
    500: '#c8a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2ff;
$custom-light: #dabeff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2ff",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 264.516,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.13456,
    "h": 302.2
  },
  "luminance": 0.4534
}

Semantic roles & 50–950 ramp

primary
#C8A2FF
secondary
#E9F7D4
accent
#E60088
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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