#C899FE#C899FE

#C899FE is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.5% C 0.148 H 304.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#C899FE
RGBrgb(200, 153, 254)
HSLhsl(268, 98%, 80%)
HSVhsv(268, 40%, 100%)
CMYKcmyk(21.3%, 39.8%, 0%, 0.4%)
CIE-LABlab(71.02, 36.70, -43.78)
CIE-LCHlch(71.02, 57.13, 309.97°)
OKLaboklab(76.49% 0.0839 -0.1217)
OKLCHoklch(76.49% 0.148 304.6)
XYZxyz(53.0963, 42.2178, 99.0983)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C899FE #CFFE99
analogous
#999DFE #C899FE #FB99FE
triadic
#C899FE #FEC899 #99FEC8
tetradic
#C899FE #FE999D #CFFE99 #99FEFB
square
#C899FE #FE999D #CFFE99 #99FEFB
split-complementary
#C899FE #FEFB99 #9DFE99
monochromatic
#8720FD #A75CFD #C899FE #E9D6FF #EFE1FF

Accessibility & contrast

On white

2.22
#C899FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#C899FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C899FE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C899FE#FFFFFF#000000##000000
##C899FE1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#8CAEFB
Tritanopia (blue-blind)
#BFA9C0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c899fe;
/* rgb */ color: rgb(200, 153, 254);
/* oklch */ color: oklch(76.5% 0.148 304.6);
Tailwind
colors: {
  custom: {
    50: '#dab7ff',
    500: '#c899fe',
    950: '#000000',
  },
}
SCSS
$custom: #c899fe;
$custom-light: #dab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c899fe",
  "rgb": {
    "r": 200,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 267.921,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76492,
    "c": 0.14783,
    "h": 304.6
  },
  "luminance": 0.42218
}

Semantic roles & 50–950 ramp

primary
#C899FE
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C899FE

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

Preview Lab → · Contrast checker → · Palette generator →

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