#C8ABFC#C8ABFC

#C8ABFC is a light, moderate violet. Relative luminance 0.484; OKLCH L 79.6% C 0.116 H 300.2°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#C8ABFC
RGBrgb(200, 171, 252)
HSLhsl(261, 93%, 83%)
HSVhsv(261, 32%, 99%)
CMYKcmyk(20.6%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.10, 26.38, -36.35)
CIE-LCHlch(75.10, 44.91, 305.97°)
OKLaboklab(79.57% 0.0585 -0.1004)
OKLCHoklch(79.57% 0.116 300.2)
XYZxyz(55.9492, 48.4333, 98.4776)
Luminance0.4843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ABFC #DFFCAB
analogous
#ABB7FC #C8ABFC #F0ABFC
triadic
#C8ABFC #FCC8AB #ABFCC8
tetradic
#C8ABFC #FCABB7 #DFFCAB #ABFCF0
square
#C8ABFC #FCABB7 #DFFCAB #ABFCF0
split-complementary
#C8ABFC #FCF0AB #B7FCAB
monochromatic
#7B35F8 #A170FA #C8ABFC #ECE1FE #ECE1FE

Accessibility & contrast

On white

1.97
#C8ABFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#C8ABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8ABFC
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8ABFC#FFFFFF#000000##000000
##C8ABFC1.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#9EB8FA
Tritanopia (blue-blind)
#BFB8C8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8abfc;
/* rgb */ color: rgb(200, 171, 252);
/* oklch */ color: oklch(79.6% 0.116 300.2);
Tailwind
colors: {
  custom: {
    50: '#dac4fd',
    500: '#c8abfc',
    950: '#000000',
  },
}
SCSS
$custom: #c8abfc;
$custom-light: #dac4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8abfc",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 261.481,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79565,
    "c": 0.11623,
    "h": 300.2
  },
  "luminance": 0.48433
}

Semantic roles & 50–950 ramp

primary
#C8ABFC
secondary
#EAF6D5
accent
#E60093
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8ABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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