#C8ABF5#C8ABF5

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

Color values

HEX#C8ABF5
RGBrgb(200, 171, 245)
HSLhsl(264, 79%, 82%)
HSVhsv(264, 30%, 96%)
CMYKcmyk(18.4%, 30.2%, 0%, 3.9%)
CIE-LABlab(74.82, 24.82, -32.99)
CIE-LCHlch(74.82, 41.29, 306.96°)
OKLaboklab(79.27% 0.0568 -0.0908)
OKLCHoklch(79.27% 0.107 302)
XYZxyz(54.8603, 47.9977, 92.7428)
Luminance0.4800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ABF5 #D8F5AB
analogous
#ABB3F5 #C8ABF5 #EDABF5
triadic
#C8ABF5 #F5C8AB #ABF5C8
tetradic
#C8ABF5 #F5ABB3 #D8F5AB #ABF5ED
square
#C8ABF5 #F5ABB3 #D8F5AB #ABF5ED
split-complementary
#C8ABF5 #F5EDAB #B3F5AB
monochromatic
#803EE8 #A474EE #C8ABF5 #ECE2FC #EDE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8ABF5#FFFFFF#000000##000000
##C8ABF51.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)
#9BB8F8
Deuteranopia (green-blind)
#A1B8F3
Tritanopia (blue-blind)
#C1B6C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8abf5;
/* rgb */ color: rgb(200, 171, 245);
/* oklch */ color: oklch(79.3% 0.107 302.0);
Tailwind
colors: {
  custom: {
    50: '#d9c4f8',
    500: '#c8abf5',
    950: '#000000',
  },
}
SCSS
$custom: #c8abf5;
$custom-light: #d9c4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8abf5",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 245
  },
  "hsl": {
    "h": 263.514,
    "s": 78.723,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79265,
    "c": 0.10711,
    "h": 302
  },
  "luminance": 0.47998
}

Semantic roles & 50–950 ramp

primary
#C8ABF5
secondary
#E9F4D7
accent
#DB0A89
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8ABF5

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

Preview Lab → · Contrast checker → · Palette generator →

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