#C8A8F2#C8A8F2

#C8A8F2 is a light, moderate violet. Relative luminance 0.467; OKLCH L 78.6% C 0.108 H 303.8°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C8A8F2
RGBrgb(200, 168, 242)
HSLhsl(266, 74%, 80%)
HSVhsv(266, 31%, 95%)
CMYKcmyk(17.4%, 30.6%, 0%, 5.1%)
CIE-LABlab(73.99, 25.81, -32.65)
CIE-LCHlch(73.99, 41.62, 308.33°)
OKLaboklab(78.59% 0.0602 -0.0898)
OKLCHoklch(78.59% 0.108 303.8)
XYZxyz(53.8458, 46.6955, 90.1636)
Luminance0.4669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8F2 #D2F2A8
analogous
#A8ADF2 #C8A8F2 #EDA8F2
triadic
#C8A8F2 #F2C8A8 #A8F2C8
tetradic
#C8A8F2 #F2A8AD #D2F2A8 #A8F2ED
square
#C8A8F2 #F2A8AD #D2F2A8 #A8F2ED
split-complementary
#C8A8F2 #F2EDA8 #ADF2A8
monochromatic
#853EE2 #A673EA #C8A8F2 #EADDFA #EEE4FB

Accessibility & contrast

On white

2.03
#C8A8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C8A8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8F2
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8F2#FFFFFF#000000##000000
##C8A8F21.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B5F5
Deuteranopia (green-blind)
#9FB6F0
Tritanopia (blue-blind)
#C2B3C3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a8f2;
/* rgb */ color: rgb(200, 168, 242);
/* oklch */ color: oklch(78.6% 0.108 303.8);
Tailwind
colors: {
  custom: {
    50: '#d9c2f6',
    500: '#c8a8f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8f2;
$custom-light: #d9c2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8f2",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 242
  },
  "hsl": {
    "h": 265.946,
    "s": 74,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78592,
    "c": 0.10815,
    "h": 303.8
  },
  "luminance": 0.46695
}

Semantic roles & 50–950 ramp

primary
#C8A8F2
secondary
#E7F3D8
accent
#D60F80
background
#FDFBFF
surface
#FAF7FE
border
#D3D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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