#C197EA#C197EA

#C197EA is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.124 H 306.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C197EA
RGBrgb(193, 151, 234)
HSLhsl(270, 66%, 75%)
HSVhsv(270, 35%, 92%)
CMYKcmyk(17.5%, 35.5%, 0%, 8.2%)
CIE-LABlab(69.05, 31.33, -36.00)
CIE-LCHlch(69.05, 47.72, 311.03°)
OKLaboklab(74.56% 0.0745 -0.0994)
OKLCHoklch(74.56% 0.124 306.8)
XYZxyz(47.9073, 39.4115, 82.9093)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C197EA #C0EA97
analogous
#9797EA #C197EA #EA97EA
triadic
#C197EA #EAC197 #97EAC1
tetradic
#C197EA #EA9797 #C0EA97 #97EAEA
square
#C197EA #EA9797 #C0EA97 #97EAEA
split-complementary
#C197EA #EAEA97 #97EA97
monochromatic
#8431D5 #A364E0 #C197EA #DFCAF4 #F0E6FA

Accessibility & contrast

On white

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

On black

8.88
#C197EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C197EA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C197EA#FFFFFF#000000##000000
##C197EA1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#BBA3B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c197ea;
/* rgb */ color: rgb(193, 151, 234);
/* oklch */ color: oklch(74.6% 0.124 306.8);
Tailwind
colors: {
  custom: {
    50: '#d5b6f1',
    500: '#c197ea',
    950: '#000000',
  },
}
SCSS
$custom: #c197ea;
$custom-light: #d5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c197ea",
  "rgb": {
    "r": 193,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 270.361,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74563,
    "c": 0.12425,
    "h": 306.8
  },
  "luminance": 0.39411
}

Semantic roles & 50–950 ramp

primary
#C197EA
secondary
#E5F1DA
accent
#CE1772
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C197EA

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

Preview Lab → · Contrast checker → · Palette generator →

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