#C8A2DF#C8A2DF

#C8A2DF is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.7% C 0.095 H 312.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C8A2DF
RGBrgb(200, 162, 223)
HSLhsl(277, 49%, 75%)
HSVhsv(277, 27%, 87%)
CMYKcmyk(10.3%, 27.4%, 0%, 12.5%)
CIE-LABlab(71.86, 25.08, -25.58)
CIE-LCHlch(71.86, 35.82, 314.44°)
OKLaboklab(76.72% 0.0637 -0.0698)
OKLCHoklch(76.72% 0.095 312.4)
XYZxyz(50.0568, 43.4484, 75.5471)
Luminance0.4345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2DF #B9DFA2
analogous
#A9A2DF #C8A2DF #DFA2D7
triadic
#C8A2DF #DFC8A2 #A2DFC8
tetradic
#C8A2DF #DFA9A2 #B9DFA2 #A2D7DF
square
#C8A2DF #DFA9A2 #B9DFA2 #A2D7DF
split-complementary
#C8A2DF #D7DFA2 #A2DFA9
monochromatic
#9247C0 #AD74CF #C8A2DF #E3D0EF #F2E8F7

Accessibility & contrast

On white

2.17
#C8A2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#C8A2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2DF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2DF#FFFFFF#000000##000000
##C8A2DF1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE1
Deuteranopia (green-blind)
#A1B1DD
Tritanopia (blue-blind)
#C6AAB8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8a2df;
/* rgb */ color: rgb(200, 162, 223);
/* oklch */ color: oklch(76.7% 0.095 312.4);
Tailwind
colors: {
  custom: {
    50: '#d9bde9',
    500: '#c8a2df',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2df;
$custom-light: #d9bde9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2df",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 277.377,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76721,
    "c": 0.0945,
    "h": 312.4
  },
  "luminance": 0.43448
}

Semantic roles & 50–950 ramp

primary
#C8A2DF
secondary
#E3EEDD
accent
#BC2961
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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