#C8AFF2#C8AFF2

#C8AFF2 is a light, moderate violet. Relative luminance 0.493; OKLCH L 79.9% C 0.097 H 301.4°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C8AFF2
RGBrgb(200, 175, 242)
HSLhsl(262, 72%, 82%)
HSVhsv(262, 28%, 95%)
CMYKcmyk(17.4%, 27.7%, 0%, 5.1%)
CIE-LABlab(75.67, 21.97, -30.07)
CIE-LCHlch(75.67, 37.24, 306.15°)
OKLaboklab(79.88% 0.0503 -0.0825)
OKLCHoklch(79.88% 0.097 301.4)
XYZxyz(55.1731, 49.3501, 90.6060)
Luminance0.4935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFF2 #D9F2AF
analogous
#AFB8F2 #C8AFF2 #EAAFF2
triadic
#C8AFF2 #F2C8AF #AFF2C8
tetradic
#C8AFF2 #F2AFB8 #D9F2AF #AFF2EA
square
#C8AFF2 #F2AFB8 #D9F2AF #AFF2EA
split-complementary
#C8AFF2 #F2EAAF #B8F2AF
monochromatic
#8046E1 #A47AE9 #C8AFF2 #ECE4FB #EDE5FB

Accessibility & contrast

On white

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

On black

10.87
#C8AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFF2
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFF2#FFFFFF#000000##000000
##C8AFF21.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BAF5
Deuteranopia (green-blind)
#A5BAF0
Tritanopia (blue-blind)
#C1B9C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8aff2;
/* rgb */ color: rgb(200, 175, 242);
/* oklch */ color: oklch(79.9% 0.097 301.4);
Tailwind
colors: {
  custom: {
    50: '#d9c7f6',
    500: '#c8aff2',
    950: '#000000',
  },
}
SCSS
$custom: #c8aff2;
$custom-light: #d9c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aff2",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 262.388,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.09666,
    "h": 301.4
  },
  "luminance": 0.4935
}

Semantic roles & 50–950 ramp

primary
#C8AFF2
secondary
#E9F2D9
accent
#D4118B
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#151317
muted
#838285

Preview Lab

Preview with #C8AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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