#C8A2F2#C8A2F2

#C8A2F2 is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.5% C 0.118 H 305.6°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C8A2F2
RGBrgb(200, 162, 242)
HSLhsl(269, 75%, 79%)
HSVhsv(269, 33%, 95%)
CMYKcmyk(17.4%, 33.1%, 0%, 5.1%)
CIE-LABlab(72.58, 29.11, -34.83)
CIE-LCHlch(72.58, 45.40, 309.89°)
OKLaboklab(77.51% 0.0687 -0.096)
OKLCHoklch(77.51% 0.118 305.6)
XYZxyz(52.7636, 44.5311, 89.8029)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2F2 #CCF2A2
analogous
#A2A4F2 #C8A2F2 #F0A2F2
triadic
#C8A2F2 #F2C8A2 #A2F2C8
tetradic
#C8A2F2 #F2A2A4 #CCF2A2 #A2F2F0
square
#C8A2F2 #F2A2A4 #CCF2A2 #A2F2F0
split-complementary
#C8A2F2 #F2F0A2 #A4F2A2
monochromatic
#8837E3 #A86CEA #C8A2F2 #E8D8FA #EFE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A2F2#FFFFFF#000000##000000
##C8A2F21.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)
#92B1F5
Deuteranopia (green-blind)
#99B2F0
Tritanopia (blue-blind)
#C2AEBF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a2f2;
/* rgb */ color: rgb(200, 162, 242);
/* oklch */ color: oklch(77.5% 0.118 305.6);
Tailwind
colors: {
  custom: {
    50: '#d9bef6',
    500: '#c8a2f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2f2;
$custom-light: #d9bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2f2",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 268.5,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77513,
    "c": 0.1181,
    "h": 305.6
  },
  "luminance": 0.44531
}

Semantic roles & 50–950 ramp

primary
#C8A2F2
secondary
#E6F3D8
accent
#D80E78
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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