#C8A3F2#C8A3F2

#C8A3F2 is a light, moderate violet. Relative luminance 0.449; OKLCH L 77.7% C 0.116 H 305.3°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C8A3F2
RGBrgb(200, 163, 242)
HSLhsl(268, 75%, 79%)
HSVhsv(268, 33%, 95%)
CMYKcmyk(17.4%, 32.6%, 0%, 5.1%)
CIE-LABlab(72.82, 28.56, -34.47)
CIE-LCHlch(72.82, 44.77, 309.65°)
OKLaboklab(77.69% 0.0673 -0.095)
OKLCHoklch(77.69% 0.116 305.3)
XYZxyz(52.9405, 44.8848, 89.8618)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A3F2 #CDF2A3
analogous
#A3A6F2 #C8A3F2 #EFA3F2
triadic
#C8A3F2 #F2C8A3 #A3F2C8
tetradic
#C8A3F2 #F2A3A6 #CDF2A3 #A3F2EF
square
#C8A3F2 #F2A3A6 #CDF2A3 #A3F2EF
split-complementary
#C8A3F2 #F2EFA3 #A6F2A3
monochromatic
#8838E3 #A86DEA #C8A3F2 #E8D9FA #EFE4FB

Accessibility & contrast

On white

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

On black

9.98
#C8A3F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A3F2
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A3F2#FFFFFF#000000##000000
##C8A3F21.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F5
Deuteranopia (green-blind)
#9AB3F0
Tritanopia (blue-blind)
#C2AFC0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a3f2;
/* rgb */ color: rgb(200, 163, 242);
/* oklch */ color: oklch(77.7% 0.116 305.3);
Tailwind
colors: {
  custom: {
    50: '#d9bef6',
    500: '#c8a3f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a3f2;
$custom-light: #d9bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a3f2",
  "rgb": {
    "r": 200,
    "g": 163,
    "b": 242
  },
  "hsl": {
    "h": 268.101,
    "s": 75.238,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77691,
    "c": 0.11644,
    "h": 305.3
  },
  "luminance": 0.44885
}

Semantic roles & 50–950 ramp

primary
#C8A3F2
secondary
#E6F3D8
accent
#D70E79
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A3F2

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

Preview Lab → · Contrast checker → · Palette generator →

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