#C898ED#C898ED

#C898ED is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.129 H 309.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C898ED
RGBrgb(200, 152, 237)
HSLhsl(274, 70%, 76%)
HSVhsv(274, 36%, 93%)
CMYKcmyk(15.6%, 35.9%, 0%, 7.1%)
CIE-LABlab(70.07, 33.52, -36.00)
CIE-LCHlch(70.07, 49.19, 312.96°)
OKLaboklab(75.54% 0.0818 -0.0993)
OKLCHoklch(75.54% 0.129 309.5)
XYZxyz(50.3309, 40.8509, 85.3379)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898ED #BDED98
analogous
#9E98ED #C898ED #ED98E8
triadic
#C898ED #EDC898 #98EDC8
tetradic
#C898ED #ED9E98 #BDED98 #98E8ED
square
#C898ED #ED9E98 #BDED98 #98E8ED
split-complementary
#C898ED #E8ED98 #98ED9E
monochromatic
#9030DB #AC64E4 #C898ED #E4CCF6 #F1E5FA

Accessibility & contrast

On white

2.29
#C898ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C898ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898ED
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898ED#FFFFFF#000000##000000
##C898ED1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F0
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#C4A4B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c898ed;
/* rgb */ color: rgb(200, 152, 237);
/* oklch */ color: oklch(75.5% 0.129 309.5);
Tailwind
colors: {
  custom: {
    50: '#dab7f3',
    500: '#c898ed',
    950: '#000000',
  },
}
SCSS
$custom: #c898ed;
$custom-light: #dab7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c898ed",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 273.882,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75536,
    "c": 0.12868,
    "h": 309.5
  },
  "luminance": 0.4085
}

Semantic roles & 50–950 ramp

primary
#C898ED
secondary
#E4F2D9
accent
#D21366
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C898ED

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

Preview Lab → · Contrast checker → · Palette generator →

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