#C8A2FA#C8A2FA

#C8A2FA is a light, vivid violet. Relative luminance 0.450; OKLCH L 77.9% C 0.128 H 303.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C8A2FA
RGBrgb(200, 162, 250)
HSLhsl(266, 90%, 81%)
HSVhsv(266, 35%, 98%)
CMYKcmyk(20%, 35.2%, 0%, 2%)
CIE-LABlab(72.91, 30.88, -38.67)
CIE-LCHlch(72.91, 49.49, 308.61°)
OKLaboklab(77.87% 0.0706 -0.107)
OKLCHoklch(77.87% 0.128 303.4)
XYZxyz(53.9915, 45.0222, 96.2697)
Luminance0.4502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2FA #D4FAA2
analogous
#A2A8FA #C8A2FA #F4A2FA
triadic
#C8A2FA #FAC8A2 #A2FAC8
tetradic
#C8A2FA #FAA2A8 #D4FAA2 #A2FAF4
square
#C8A2FA #FAA2A8 #D4FAA2 #A2FAF4
split-complementary
#C8A2FA #FAF4A2 #A8FAA2
monochromatic
#832EF4 #A668F7 #C8A2FA #EADCFD #EEE2FD

Accessibility & contrast

On white

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

On black

10.00
#C8A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2FA
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2FA#FFFFFF#000000##000000
##C8A2FA1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a2fa;
/* rgb */ color: rgb(200, 162, 250);
/* oklch */ color: oklch(77.9% 0.128 303.4);
Tailwind
colors: {
  custom: {
    50: '#dabefc',
    500: '#c8a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2fa;
$custom-light: #dabefc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2fa",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 265.909,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77867,
    "c": 0.12822,
    "h": 303.4
  },
  "luminance": 0.45022
}

Semantic roles & 50–950 ramp

primary
#C8A2FA
secondary
#E8F6D5
accent
#E60082
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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