#C8A7F2#C8A7F2

#C8A7F2 is a light, moderate violet. Relative luminance 0.463; OKLCH L 78.4% C 0.110 H 304.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C8A7F2
RGBrgb(200, 167, 242)
HSLhsl(266, 74%, 80%)
HSVhsv(266, 31%, 95%)
CMYKcmyk(17.4%, 31%, 0%, 5.1%)
CIE-LABlab(73.76, 26.36, -33.01)
CIE-LCHlch(73.76, 42.25, 308.61°)
OKLaboklab(78.41% 0.0616 -0.0909)
OKLCHoklch(78.41% 0.11 304.1)
XYZxyz(53.6619, 46.3277, 90.1023)
Luminance0.4633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7F2 #D1F2A7
analogous
#A7ABF2 #C8A7F2 #EDA7F2
triadic
#C8A7F2 #F2C8A7 #A7F2C8
tetradic
#C8A7F2 #F2A7AB #D1F2A7 #A7F2ED
square
#C8A7F2 #F2A7AB #D1F2A7 #A7F2ED
split-complementary
#C8A7F2 #F2EDA7 #ABF2A7
monochromatic
#853CE2 #A772EA #C8A7F2 #E9DCFA #EEE4FB

Accessibility & contrast

On white

2.05
#C8A7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C8A7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7F2
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7F2#FFFFFF#000000##000000
##C8A7F21.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B4F5
Deuteranopia (green-blind)
#9EB5F0
Tritanopia (blue-blind)
#C2B2C2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a7f2;
/* rgb */ color: rgb(200, 167, 242);
/* oklch */ color: oklch(78.4% 0.110 304.1);
Tailwind
colors: {
  custom: {
    50: '#d9c1f6',
    500: '#c8a7f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7f2;
$custom-light: #d9c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7f2",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 266.4,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78411,
    "c": 0.10981,
    "h": 304.1
  },
  "luminance": 0.46328
}

Semantic roles & 50–950 ramp

primary
#C8A7F2
secondary
#E7F3D8
accent
#D60F7F
background
#FDFBFF
surface
#FAF7FE
border
#D3D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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