#C8AAFA#C8AAFA

#C8AAFA is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.3% C 0.115 H 301.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#C8AAFA
RGBrgb(200, 170, 250)
HSLhsl(263, 89%, 82%)
HSVhsv(263, 32%, 98%)
CMYKcmyk(20%, 32%, 0%, 2%)
CIE-LABlab(74.78, 26.48, -35.76)
CIE-LCHlch(74.78, 44.50, 306.52°)
OKLaboklab(79.3% 0.0594 -0.0987)
OKLCHoklch(79.3% 0.115 301)
XYZxyz(55.4458, 47.9308, 96.7545)
Luminance0.4793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAFA #DCFAAA
analogous
#AAB4FA #C8AAFA #F0AAFA
triadic
#C8AAFA #FAC8AA #AAFAC8
tetradic
#C8AAFA #FAAAB4 #DCFAAA #AAFAF0
square
#C8AAFA #FAAAB4 #DCFAAA #AAFAF0
split-complementary
#C8AAFA #FAF0AA #B4FAAA
monochromatic
#7D36F3 #A370F7 #C8AAFA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.98
#C8AAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#C8AAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAFA
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAFA#FFFFFF#000000##000000
##C8AAFA1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#BFB6C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8aafa;
/* rgb */ color: rgb(200, 170, 250);
/* oklch */ color: oklch(79.3% 0.115 301.0);
Tailwind
colors: {
  custom: {
    50: '#d9c3fc',
    500: '#c8aafa',
    950: '#000000',
  },
}
SCSS
$custom: #c8aafa;
$custom-light: #d9c3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aafa",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 262.5,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79297,
    "c": 0.11524,
    "h": 301
  },
  "luminance": 0.47931
}

Semantic roles & 50–950 ramp

primary
#C8AAFA
secondary
#E9F5D6
accent
#E6008F
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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