#C899FC#C899FC

#C899FC is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.4% C 0.145 H 305.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#C899FC
RGBrgb(200, 153, 252)
HSLhsl(268, 94%, 79%)
HSVhsv(268, 39%, 99%)
CMYKcmyk(20.6%, 39.3%, 0%, 1.2%)
CIE-LABlab(70.93, 36.26, -42.84)
CIE-LCHlch(70.93, 56.12, 310.24°)
OKLaboklab(76.4% 0.0835 -0.119)
OKLCHoklch(76.4% 0.145 305.1)
XYZxyz(52.7777, 42.0904, 97.4204)
Luminance0.4209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C899FC #CDFC99
analogous
#999CFC #C899FC #FA99FC
triadic
#C899FC #FCC899 #99FCC8
tetradic
#C899FC #FC999C #CDFC99 #99FCFA
square
#C899FC #FC999C #CDFC99 #99FCFA
split-complementary
#C899FC #FCFA99 #9CFC99
monochromatic
#8822F9 #A85EFA #C899FC #E8D4FE #EFE1FE

Accessibility & contrast

On white

2.23
#C899FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#C899FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C899FC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C899FC#FFFFFF#000000##000000
##C899FC1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#C0A9BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c899fc;
/* rgb */ color: rgb(200, 153, 252);
/* oklch */ color: oklch(76.4% 0.145 305.1);
Tailwind
colors: {
  custom: {
    50: '#dab7fd',
    500: '#c899fc',
    950: '#000000',
  },
}
SCSS
$custom: #c899fc;
$custom-light: #dab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c899fc",
  "rgb": {
    "r": 200,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 268.485,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76397,
    "c": 0.14536,
    "h": 305.1
  },
  "luminance": 0.4209
}

Semantic roles & 50–950 ramp

primary
#C899FC
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C899FC

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

Preview Lab → · Contrast checker → · Palette generator →

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