#C898DC#C898DC

#C898DC is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.8% C 0.108 H 315.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C898DC
RGBrgb(200, 152, 220)
HSLhsl(282, 49%, 73%)
HSVhsv(282, 31%, 86%)
CMYKcmyk(9.1%, 30.9%, 0%, 13.7%)
CIE-LABlab(69.40, 29.96, -27.70)
CIE-LCHlch(69.40, 40.81, 317.25°)
OKLaboklab(74.81% 0.0776 -0.0757)
OKLCHoklch(74.81% 0.108 315.7)
XYZxyz(47.9640, 39.9041, 72.8718)
Luminance0.3990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898DC #ACDC98
analogous
#A698DC #C898DC #DC98CE
triadic
#C898DC #DCC898 #98DCC8
tetradic
#C898DC #DCA698 #ACDC98 #98CEDC
square
#C898DC #DCA698 #ACDC98 #98CEDC
split-complementary
#C898DC #CEDC98 #98DCA6
monochromatic
#963FBA #B06ACC #C898DC #E0C6EC #F3E8F7

Accessibility & contrast

On white

2.34
#C898DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C898DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898DC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898DC#FFFFFF#000000##000000
##C898DC1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7DF
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#C7A0B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c898dc;
/* rgb */ color: rgb(200, 152, 220);
/* oklch */ color: oklch(74.8% 0.108 315.7);
Tailwind
colors: {
  custom: {
    50: '#d9b7e7',
    500: '#c898dc',
    950: '#000000',
  },
}
SCSS
$custom: #c898dc;
$custom-light: #d9b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c898dc",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 282.353,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.10844,
    "h": 315.7
  },
  "luminance": 0.39903
}

Semantic roles & 50–950 ramp

primary
#C898DC
secondary
#E2EEDD
accent
#BD2954
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C898DC

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

Preview Lab → · Contrast checker → · Palette generator →

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