#C8AEF4#C8AEF4

#C8AEF4 is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.8% C 0.101 H 301.2°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C8AEF4
RGBrgb(200, 174, 244)
HSLhsl(262, 76%, 82%)
HSVhsv(262, 29%, 96%)
CMYKcmyk(18%, 28.7%, 0%, 4.3%)
CIE-LABlab(75.50, 22.96, -31.40)
CIE-LCHlch(75.50, 38.90, 306.17°)
OKLaboklab(79.77% 0.0523 -0.0863)
OKLCHoklch(79.77% 0.101 301.2)
XYZxyz(55.2812, 49.0830, 92.1320)
Luminance0.4908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AEF4 #DAF4AE
analogous
#AEB7F4 #C8AEF4 #EBAEF4
triadic
#C8AEF4 #F4C8AE #AEF4C8
tetradic
#C8AEF4 #F4AEB7 #DAF4AE #AEF4EB
square
#C8AEF4 #F4AEB7 #DAF4AE #AEF4EB
split-complementary
#C8AEF4 #F4EBAE #B7F4AE
monochromatic
#7F42E5 #A378ED #C8AEF4 #EDE4FB #EDE4FB

Accessibility & contrast

On white

1.94
#C8AEF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C8AEF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AEF4
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AEF4#FFFFFF#000000##000000
##C8AEF41.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBAF7
Deuteranopia (green-blind)
#A4BAF2
Tritanopia (blue-blind)
#C1B8C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8aef4;
/* rgb */ color: rgb(200, 174, 244);
/* oklch */ color: oklch(79.8% 0.101 301.2);
Tailwind
colors: {
  custom: {
    50: '#d9c6f8',
    500: '#c8aef4',
    950: '#000000',
  },
}
SCSS
$custom: #c8aef4;
$custom-light: #d9c6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aef4",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 244
  },
  "hsl": {
    "h": 262.286,
    "s": 76.087,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79774,
    "c": 0.10092,
    "h": 301.2
  },
  "luminance": 0.49083
}

Semantic roles & 50–950 ramp

primary
#C8AEF4
secondary
#E9F3D8
accent
#D80D8D
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151317
muted
#838285

Preview Lab

Preview with #C8AEF4

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

Preview Lab → · Contrast checker → · Palette generator →

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