#C8AFF3#C8AFF3

#C8AFF3 is a light, moderate violet. Relative luminance 0.494; OKLCH L 79.9% C 0.098 H 301.1°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#C8AFF3
RGBrgb(200, 175, 243)
HSLhsl(262, 74%, 82%)
HSVhsv(262, 28%, 95%)
CMYKcmyk(17.7%, 28%, 0%, 4.7%)
CIE-LABlab(75.71, 22.19, -30.55)
CIE-LCHlch(75.71, 37.76, 305.99°)
OKLaboklab(79.92% 0.0506 -0.0839)
OKLCHoklch(79.92% 0.098 301.1)
XYZxyz(55.3237, 49.4103, 91.3992)
Luminance0.4941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFF3 #DAF3AF
analogous
#AFB8F3 #C8AFF3 #EAAFF3
triadic
#C8AFF3 #F3C8AF #AFF3C8
tetradic
#C8AFF3 #F3AFB8 #DAF3AF #AFF3EA
square
#C8AFF3 #F3AFB8 #DAF3AF #AFF3EA
split-complementary
#C8AFF3 #F3EAAF #B8F3AF
monochromatic
#7F45E3 #A37AEB #C8AFF3 #EDE4FB #EDE4FB

Accessibility & contrast

On white

1.93
#C8AFF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#C8AFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFF3
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFF3#FFFFFF#000000##000000
##C8AFF31.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BAF6
Deuteranopia (green-blind)
#A5BAF1
Tritanopia (blue-blind)
#C1B9C7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8aff3;
/* rgb */ color: rgb(200, 175, 243);
/* oklch */ color: oklch(79.9% 0.098 301.1);
Tailwind
colors: {
  custom: {
    50: '#d9c7f7',
    500: '#c8aff3',
    950: '#000000',
  },
}
SCSS
$custom: #c8aff3;
$custom-light: #d9c7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aff3",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 262.059,
    "s": 73.913,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79917,
    "c": 0.09797,
    "h": 301.1
  },
  "luminance": 0.4941
}

Semantic roles & 50–950 ramp

primary
#C8AFF3
secondary
#E9F3D8
accent
#D60F8D
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#151317
muted
#838285

Preview Lab

Preview with #C8AFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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