#C8A8FB#C8A8FB

#C8A8FB is a light, moderate violet. Relative luminance 0.472; OKLCH L 79.0% C 0.120 H 301.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C8A8FB
RGBrgb(200, 168, 251)
HSLhsl(263, 91%, 82%)
HSVhsv(263, 33%, 98%)
CMYKcmyk(20.3%, 33.1%, 0%, 1.6%)
CIE-LABlab(74.35, 27.80, -36.97)
CIE-LCHlch(74.35, 46.26, 306.94°)
OKLaboklab(78.98% 0.0625 -0.1022)
OKLCHoklch(78.98% 0.12 301.4)
XYZxyz(55.2309, 47.2496, 97.4584)
Luminance0.4725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8FB #DBFBA8
analogous
#A8B1FB #C8A8FB #F2A8FB
triadic
#C8A8FB #FBC8A8 #A8FBC8
tetradic
#C8A8FB #FBA8B1 #DBFBA8 #A8FBF2
square
#C8A8FB #FBA8B1 #DBFBA8 #A8FBF2
split-complementary
#C8A8FB #FBF2A8 #B1FBA8
monochromatic
#7E33F6 #A36DF8 #C8A8FB #EDE2FE #EDE2FE

Accessibility & contrast

On white

2.01
#C8A8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#C8A8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8FB
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8FB#FFFFFF#000000##000000
##C8A8FB1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FE
Deuteranopia (green-blind)
#9BB7F9
Tritanopia (blue-blind)
#BFB5C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8a8fb;
/* rgb */ color: rgb(200, 168, 251);
/* oklch */ color: oklch(79.0% 0.120 301.4);
Tailwind
colors: {
  custom: {
    50: '#dac2fd',
    500: '#c8a8fb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8fb;
$custom-light: #dac2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8fb",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 263.133,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.7898,
    "c": 0.11976,
    "h": 301.4
  },
  "luminance": 0.4725
}

Semantic roles & 50–950 ramp

primary
#C8A8FB
secondary
#E9F6D5
accent
#E6008D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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