#C898EA#C898EA

#C898EA is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.4% C 0.125 H 310.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C898EA
RGBrgb(200, 152, 234)
HSLhsl(275, 66%, 76%)
HSVhsv(275, 35%, 92%)
CMYKcmyk(14.5%, 35%, 0%, 8.2%)
CIE-LABlab(69.95, 32.88, -34.55)
CIE-LCHlch(69.95, 47.69, 313.58°)
OKLaboklab(75.4% 0.0811 -0.0952)
OKLCHoklch(75.4% 0.125 310.4)
XYZxyz(49.8963, 40.6770, 83.0489)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898EA #BAEA98
analogous
#9F98EA #C898EA #EA98E3
triadic
#C898EA #EAC898 #98EAC8
tetradic
#C898EA #EA9F98 #BAEA98 #98E3EA
square
#C898EA #EA9F98 #BAEA98 #98E3EA
split-complementary
#C898EA #E3EA98 #98EA9F
monochromatic
#9232D5 #AD65E0 #C898EA #E3CBF4 #F1E6FA

Accessibility & contrast

On white

2.30
#C898EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#C898EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898EA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898EA#FFFFFF#000000##000000
##C898EA1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9ED
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#C4A3B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c898ea;
/* rgb */ color: rgb(200, 152, 234);
/* oklch */ color: oklch(75.4% 0.125 310.4);
Tailwind
colors: {
  custom: {
    50: '#dab7f1',
    500: '#c898ea',
    950: '#000000',
  },
}
SCSS
$custom: #c898ea;
$custom-light: #dab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c898ea",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 275.122,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75403,
    "c": 0.12504,
    "h": 310.4
  },
  "luminance": 0.40676
}

Semantic roles & 50–950 ramp

primary
#C898EA
secondary
#E3F1DA
accent
#CE1863
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C898EA

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

Preview Lab → · Contrast checker → · Palette generator →

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