#C899EF#C899EF

#C899EF is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.8% C 0.129 H 308.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C899EF
RGBrgb(200, 153, 239)
HSLhsl(273, 73%, 77%)
HSVhsv(273, 36%, 94%)
CMYKcmyk(16.3%, 36%, 0%, 6.3%)
CIE-LABlab(70.38, 33.40, -36.61)
CIE-LCHlch(70.38, 49.56, 312.37°)
OKLaboklab(75.8% 0.0808 -0.1011)
OKLCHoklch(75.8% 0.129 308.6)
XYZxyz(50.7877, 41.2944, 86.9397)
Luminance0.4129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C899EF #C0EF99
analogous
#9D99EF #C899EF #EF99EB
triadic
#C899EF #EFC899 #99EFC8
tetradic
#C899EF #EF9D99 #C0EF99 #99EBEF
square
#C899EF #EF9D99 #C0EF99 #99EBEF
split-complementary
#C899EF #EBEF99 #99EF9D
monochromatic
#8F2FDE #AB64E7 #C899EF #E5CEF7 #F1E5FB

Accessibility & contrast

On white

2.27
#C899EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#C899EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C899EF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C899EF#FFFFFF#000000##000000
##C899EF1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#92ADED
Tritanopia (blue-blind)
#C3A5B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c899ef;
/* rgb */ color: rgb(200, 153, 239);
/* oklch */ color: oklch(75.8% 0.129 308.6);
Tailwind
colors: {
  custom: {
    50: '#dab7f4',
    500: '#c899ef',
    950: '#000000',
  },
}
SCSS
$custom: #c899ef;
$custom-light: #dab7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c899ef",
  "rgb": {
    "r": 200,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 272.791,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75799,
    "c": 0.12943,
    "h": 308.6
  },
  "luminance": 0.41294
}

Semantic roles & 50–950 ramp

primary
#C899EF
secondary
#E4F3D8
accent
#D5116A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C899EF

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

Preview Lab → · Contrast checker → · Palette generator →

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