#C898EF#C898EF

#C898EF is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.6% C 0.131 H 308.9°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C898EF
RGBrgb(200, 152, 239)
HSLhsl(273, 73%, 77%)
HSVhsv(273, 36%, 94%)
CMYKcmyk(16.3%, 36.4%, 0%, 6.3%)
CIE-LABlab(70.15, 33.95, -36.97)
CIE-LCHlch(70.15, 50.19, 312.56°)
OKLaboklab(75.63% 0.0822 -0.1021)
OKLCHoklch(75.63% 0.131 308.9)
XYZxyz(50.6248, 40.9684, 86.8854)
Luminance0.4097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898EF #BFEF98
analogous
#9D98EF #C898EF #EF98EB
triadic
#C898EF #EFC898 #98EFC8
tetradic
#C898EF #EF9D98 #BFEF98 #98EBEF
square
#C898EF #EF9D98 #BFEF98 #98EBEF
split-complementary
#C898EF #EBEF98 #98EF9D
monochromatic
#8F2EDF #AC63E7 #C898EF #E4CDF7 #F1E5FB

Accessibility & contrast

On white

2.28
#C898EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#C898EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898EF
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898EF#FFFFFF#000000##000000
##C898EF1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#92ACED
Tritanopia (blue-blind)
#C3A5B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c898ef;
/* rgb */ color: rgb(200, 152, 239);
/* oklch */ color: oklch(75.6% 0.131 308.9);
Tailwind
colors: {
  custom: {
    50: '#dab7f4',
    500: '#c898ef',
    950: '#000000',
  },
}
SCSS
$custom: #c898ef;
$custom-light: #dab7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c898ef",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 273.103,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75626,
    "c": 0.1311,
    "h": 308.9
  },
  "luminance": 0.40968
}

Semantic roles & 50–950 ramp

primary
#C898EF
secondary
#E4F3D8
accent
#D51069
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C898EF

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

Preview Lab → · Contrast checker → · Palette generator →

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