#C898DB#C898DB

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

Color values

HEX#C898DB
RGBrgb(200, 152, 219)
HSLhsl(283, 48%, 73%)
HSVhsv(283, 31%, 86%)
CMYKcmyk(8.7%, 30.6%, 0%, 14.1%)
CIE-LABlab(69.36, 29.76, -27.21)
CIE-LCHlch(69.36, 40.32, 317.57°)
OKLaboklab(74.77% 0.0774 -0.0743)
OKLCHoklch(74.77% 0.107 316.2)
XYZxyz(47.8319, 39.8512, 72.1764)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898DB #ABDB98
analogous
#A698DB #C898DB #DB98CC
triadic
#C898DB #DBC898 #98DBC8
tetradic
#C898DB #DBA698 #ABDB98 #98CCDB
square
#C898DB #DBA698 #ABDB98 #98CCDB
split-complementary
#C898DB #CCDB98 #98DBA6
monochromatic
#9640B8 #B06BCB #C898DB #E0C5EB #F3E8F7

Accessibility & contrast

On white

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

On black

8.97
#C898DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898DB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898DB#FFFFFF#000000##000000
##C898DB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA6DE
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#C8A0B0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c898db;
/* rgb */ color: rgb(200, 152, 219);
/* oklch */ color: oklch(74.8% 0.107 316.2);
Tailwind
colors: {
  custom: {
    50: '#d9b7e6',
    500: '#c898db',
    950: '#000000',
  },
}
SCSS
$custom: #c898db;
$custom-light: #d9b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c898db",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 282.985,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74765,
    "c": 0.10728,
    "h": 316.2
  },
  "luminance": 0.3985
}

Semantic roles & 50–950 ramp

primary
#C898DB
secondary
#E2EEDD
accent
#BB2A53
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C898DB

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

Preview Lab → · Contrast checker → · Palette generator →

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