#C199F9#C199F9

#C199F9 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.6% C 0.140 H 302.4°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C199F9
RGBrgb(193, 153, 249)
HSLhsl(265, 89%, 79%)
HSVhsv(265, 39%, 98%)
CMYKcmyk(22.5%, 38.6%, 0%, 2.4%)
CIE-LABlab(70.15, 33.59, -42.48)
CIE-LCHlch(70.15, 54.15, 308.33°)
OKLaboklab(75.61% 0.0749 -0.1181)
OKLCHoklch(75.61% 0.14 302.4)
XYZxyz(50.4788, 40.9595, 94.8508)
Luminance0.4096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C199F9 #D1F999
analogous
#99A1F9 #C199F9 #F199F9
triadic
#C199F9 #F9C199 #99F9C1
tetradic
#C199F9 #F999A1 #D1F999 #99F9F1
square
#C199F9 #F999A1 #D1F999 #99F9F1
split-complementary
#C199F9 #F9F199 #A1F999
monochromatic
#7B25F2 #9E5FF6 #C199F9 #E4D3FC #EDE2FD

Accessibility & contrast

On white

2.28
#C199F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#C199F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C199F9
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C199F9#FFFFFF#000000##000000
##C199F91.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#B7A9BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c199f9;
/* rgb */ color: rgb(193, 153, 249);
/* oklch */ color: oklch(75.6% 0.140 302.4);
Tailwind
colors: {
  custom: {
    50: '#d5b7fb',
    500: '#c199f9',
    950: '#000000',
  },
}
SCSS
$custom: #c199f9;
$custom-light: #d5b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c199f9",
  "rgb": {
    "r": 193,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 265,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.13983,
    "h": 302.4
  },
  "luminance": 0.40959
}

Semantic roles & 50–950 ramp

primary
#C199F9
secondary
#E8F5D6
accent
#E60086
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C199F9

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

Preview Lab → · Contrast checker → · Palette generator →

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