#C898F8#C898F8

#C898F8 is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.0% C 0.142 H 306.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#C898F8
RGBrgb(200, 152, 248)
HSLhsl(270, 87%, 78%)
HSVhsv(270, 39%, 97%)
CMYKcmyk(19.4%, 38.7%, 0%, 2.7%)
CIE-LABlab(70.53, 35.91, -41.28)
CIE-LCHlch(70.53, 54.72, 311.02°)
OKLaboklab(76.04% 0.0841 -0.1145)
OKLCHoklch(76.04% 0.142 306.3)
XYZxyz(51.9876, 41.5135, 94.0629)
Luminance0.4151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898F8 #C8F898
analogous
#9898F8 #C898F8 #F898F8
triadic
#C898F8 #F8C898 #98F8C8
tetradic
#C898F8 #F89898 #C8F898 #98F8F8
square
#C898F8 #F89898 #C8F898 #98F8F8
split-complementary
#C898F8 #F8F898 #98F898
monochromatic
#8B25F0 #A95FF4 #C898F8 #E7D1FC #F0E2FD

Accessibility & contrast

On white

2.26
#C898F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#C898F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898F8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898F8#FFFFFF#000000##000000
##C898F81.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFC
Deuteranopia (green-blind)
#8DADF5
Tritanopia (blue-blind)
#C1A7BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c898f8;
/* rgb */ color: rgb(200, 152, 248);
/* oklch */ color: oklch(76.0% 0.142 306.3);
Tailwind
colors: {
  custom: {
    50: '#dab7fb',
    500: '#c898f8',
    950: '#000000',
  },
}
SCSS
$custom: #c898f8;
$custom-light: #dab7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c898f8",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76039,
    "c": 0.14209,
    "h": 306.3
  },
  "luminance": 0.41513
}

Semantic roles & 50–950 ramp

primary
#C898F8
secondary
#E6F5D6
accent
#E40273
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C898F8

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

Preview Lab → · Contrast checker → · Palette generator →

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