#C898DF#C898DF

#C898DF is a light, moderate purple. Relative luminance 0.401; OKLCH L 74.9% C 0.112 H 314.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#C898DF
RGBrgb(200, 152, 223)
HSLhsl(281, 53%, 74%)
HSVhsv(281, 32%, 87%)
CMYKcmyk(10.3%, 31.8%, 0%, 12.5%)
CIE-LABlab(69.52, 30.58, -29.18)
CIE-LCHlch(69.52, 42.26, 316.34°)
OKLaboklab(74.93% 0.0784 -0.0799)
OKLCHoklch(74.93% 0.112 314.5)
XYZxyz(48.3648, 40.0644, 74.9831)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898DF #AFDF98
analogous
#A498DF #C898DF #DF98D2
triadic
#C898DF #DFC898 #98DFC8
tetradic
#C898DF #DFA498 #AFDF98 #98D2DF
square
#C898DF #DFA498 #AFDF98 #98D2DF
split-complementary
#C898DF #D2DF98 #98DFA4
monochromatic
#963CC1 #AF69D0 #C898DF #E1C7EE #F3E8F8

Accessibility & contrast

On white

2.33
#C898DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#C898DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898DF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898DF#FFFFFF#000000##000000
##C898DF1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#98ABDD
Tritanopia (blue-blind)
#C7A1B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c898df;
/* rgb */ color: rgb(200, 152, 223);
/* oklch */ color: oklch(74.9% 0.112 314.5);
Tailwind
colors: {
  custom: {
    50: '#d9b7e9',
    500: '#c898df',
    950: '#000000',
  },
}
SCSS
$custom: #c898df;
$custom-light: #d9b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c898df",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 280.563,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7493,
    "c": 0.11195,
    "h": 314.5
  },
  "luminance": 0.40064
}

Semantic roles & 50–950 ramp

primary
#C898DF
secondary
#E2EFDC
accent
#C02558
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C898DF

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

Preview Lab → · Contrast checker → · Palette generator →

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