#C898EB#C898EB

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

Color values

HEX#C898EB
RGBrgb(200, 152, 235)
HSLhsl(275, 67%, 76%)
HSVhsv(275, 35%, 92%)
CMYKcmyk(14.9%, 35.3%, 0%, 7.8%)
CIE-LABlab(69.99, 33.09, -35.03)
CIE-LCHlch(69.99, 48.19, 313.37°)
OKLaboklab(75.45% 0.0813 -0.0966)
OKLCHoklch(75.45% 0.126 310.1)
XYZxyz(50.0404, 40.7346, 83.8076)
Luminance0.4073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898EB #BBEB98
analogous
#9E98EB #C898EB #EB98E4
triadic
#C898EB #EBC898 #98EBC8
tetradic
#C898EB #EB9E98 #BBEB98 #98E4EB
square
#C898EB #EB9E98 #BBEB98 #98E4EB
split-complementary
#C898EB #E4EB98 #98EB9E
monochromatic
#9132D7 #AD65E1 #C898EB #E3CBF5 #F1E5FA

Accessibility & contrast

On white

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

On black

9.15
#C898EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898EB
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898EB#FFFFFF#000000##000000
##C898EB1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#C4A4B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c898eb;
/* rgb */ color: rgb(200, 152, 235);
/* oklch */ color: oklch(75.4% 0.126 310.1);
Tailwind
colors: {
  custom: {
    50: '#dab7f1',
    500: '#c898eb',
    950: '#000000',
  },
}
SCSS
$custom: #c898eb;
$custom-light: #dab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c898eb",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 274.699,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75447,
    "c": 0.12625,
    "h": 310.1
  },
  "luminance": 0.40734
}

Semantic roles & 50–950 ramp

primary
#C898EB
secondary
#E4F2D9
accent
#CF1664
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C898EB

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

Preview Lab → · Contrast checker → · Palette generator →

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