#C898FC#C898FC

#C898FC is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.2% C 0.147 H 305.3°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C898FC
RGBrgb(200, 152, 252)
HSLhsl(269, 94%, 79%)
HSVhsv(269, 40%, 99%)
CMYKcmyk(20.6%, 39.7%, 0%, 1.2%)
CIE-LABlab(70.71, 36.80, -43.19)
CIE-LCHlch(70.71, 56.74, 310.44°)
OKLaboklab(76.23% 0.0849 -0.12)
OKLCHoklch(76.23% 0.147 305.3)
XYZxyz(52.6148, 41.7644, 97.3661)
Luminance0.4176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C898FC #CCFC98
analogous
#989AFC #C898FC #FA98FC
triadic
#C898FC #FCC898 #98FCC8
tetradic
#C898FC #FC989A #CCFC98 #98FCFA
square
#C898FC #FC989A #CCFC98 #98FCFA
split-complementary
#C898FC #FCFA98 #9AFC98
monochromatic
#8821F9 #A85DFA #C898FC #E8D3FE #EFE1FE

Accessibility & contrast

On white

2.25
#C898FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C898FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C898FC
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C898FC#FFFFFF#000000##000000
##C898FC1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#C0A8BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c898fc;
/* rgb */ color: rgb(200, 152, 252);
/* oklch */ color: oklch(76.2% 0.147 305.3);
Tailwind
colors: {
  custom: {
    50: '#dab7fd',
    500: '#c898fc',
    950: '#000000',
  },
}
SCSS
$custom: #c898fc;
$custom-light: #dab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c898fc",
  "rgb": {
    "r": 200,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 268.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76227,
    "c": 0.14699,
    "h": 305.3
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

primary
#C898FC
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C898FC

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

Preview Lab → · Contrast checker → · Palette generator →

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