#C197EB#C197EB

#C197EB is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.6% C 0.126 H 306.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#C197EB
RGBrgb(193, 151, 235)
HSLhsl(270, 68%, 76%)
HSVhsv(270, 36%, 92%)
CMYKcmyk(17.9%, 35.7%, 0%, 7.8%)
CIE-LABlab(69.09, 31.55, -36.48)
CIE-LCHlch(69.09, 48.23, 310.85°)
OKLaboklab(74.61% 0.0747 -0.1008)
OKLCHoklch(74.61% 0.126 306.5)
XYZxyz(48.0514, 39.4692, 83.6681)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C197EB #C1EB97
analogous
#9797EB #C197EB #EB97EB
triadic
#C197EB #EBC197 #97EBC1
tetradic
#C197EB #EB9797 #C1EB97 #97EBEB
square
#C197EB #EB9797 #C1EB97 #97EBEB
split-complementary
#C197EB #EBEB97 #97EB97
monochromatic
#8430D7 #A264E1 #C197EB #E0CAF5 #F0E5FA

Accessibility & contrast

On white

2.36
#C197EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#C197EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C197EB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C197EB#FFFFFF#000000##000000
##C197EB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#BBA4B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c197eb;
/* rgb */ color: rgb(193, 151, 235);
/* oklch */ color: oklch(74.6% 0.126 306.5);
Tailwind
colors: {
  custom: {
    50: '#d5b6f1',
    500: '#c197eb',
    950: '#000000',
  },
}
SCSS
$custom: #c197eb;
$custom-light: #d5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c197eb",
  "rgb": {
    "r": 193,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.1255,
    "h": 306.5
  },
  "luminance": 0.39469
}

Semantic roles & 50–950 ramp

primary
#C197EB
secondary
#E6F2D9
accent
#D01673
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C197EB

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

Preview Lab → · Contrast checker → · Palette generator →

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