#C8AAFB#C8AAFB

#C8AAFB is a light, moderate violet. Relative luminance 0.480; OKLCH L 79.3% C 0.117 H 300.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C8AAFB
RGBrgb(200, 170, 251)
HSLhsl(262, 91%, 83%)
HSVhsv(262, 32%, 98%)
CMYKcmyk(20.3%, 32.3%, 0%, 1.6%)
CIE-LABlab(74.82, 26.70, -36.24)
CIE-LCHlch(74.82, 45.02, 306.39°)
OKLaboklab(79.34% 0.0597 -0.1001)
OKLCHoklch(79.34% 0.117 300.8)
XYZxyz(55.6030, 47.9937, 97.5825)
Luminance0.4799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAFB #DDFBAA
analogous
#AAB5FB #C8AAFB #F0AAFB
triadic
#C8AAFB #FBC8AA #AAFBC8
tetradic
#C8AAFB #FBAAB5 #DDFBAA #AAFBF0
square
#C8AAFB #FBAAB5 #DDFBAA #AAFBF0
split-complementary
#C8AAFB #FBF0AA #B5FBAA
monochromatic
#7C35F5 #A270F8 #C8AAFB #ECE2FE #ECE2FE

Accessibility & contrast

On white

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

On black

10.60
#C8AAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAFB
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAFB#FFFFFF#000000##000000
##C8AAFB1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FE
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#BFB7C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8aafb;
/* rgb */ color: rgb(200, 170, 251);
/* oklch */ color: oklch(79.3% 0.117 300.8);
Tailwind
colors: {
  custom: {
    50: '#dac3fd',
    500: '#c8aafb',
    950: '#000000',
  },
}
SCSS
$custom: #c8aafb;
$custom-light: #dac3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aafb",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 262.222,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.11653,
    "h": 300.8
  },
  "luminance": 0.47994
}

Semantic roles & 50–950 ramp

primary
#C8AAFB
secondary
#EAF6D5
accent
#E60091
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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