#C898FD#C898FD

#C898FD is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.3% C 0.148 H 305.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#C898FD
RGBrgb(200, 152, 253)
HSLhsl(269, 96%, 79%)
HSVhsv(269, 40%, 99%)
CMYKcmyk(20.9%, 39.9%, 0%, 0.8%)
CIE-LABlab(70.75, 37.03, -43.66)
CIE-LCHlch(70.75, 57.25, 310.30°)
OKLaboklab(76.28% 0.0851 -0.1214)
OKLCHoklch(76.28% 0.148 305)
XYZxyz(52.7736, 41.8279, 98.2029)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898FD #CDFD98
analogous
#989BFD #C898FD #FB98FD
triadic
#C898FD #FDC898 #98FDC8
tetradic
#C898FD #FD989B #CDFD98 #98FDFB
square
#C898FD #FD989B #CDFD98 #98FDFB
split-complementary
#C898FD #FDFB98 #9BFD98
monochromatic
#8820FB #A85CFC #C898FD #E8D4FE #EFE1FE

Accessibility & contrast

On white

2.24
#C898FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#C898FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898FD
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898FD#FFFFFF#000000##000000
##C898FD1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#C0A8BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c898fd;
/* rgb */ color: rgb(200, 152, 253);
/* oklch */ color: oklch(76.3% 0.148 305.0);
Tailwind
colors: {
  custom: {
    50: '#dab7fe',
    500: '#c898fd',
    950: '#000000',
  },
}
SCSS
$custom: #c898fd;
$custom-light: #dab7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c898fd",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 268.515,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.14822,
    "h": 305
  },
  "luminance": 0.41828
}

Semantic roles & 50–950 ramp

primary
#C898FD
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C898FD

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

Preview Lab → · Contrast checker → · Palette generator →

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