#C197FD#C197FD

#C197FD is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.148 H 301.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C197FD
RGBrgb(193, 151, 253)
HSLhsl(265, 96%, 79%)
HSVhsv(265, 40%, 99%)
CMYKcmyk(23.7%, 40.3%, 0%, 0.8%)
CIE-LABlab(69.87, 35.61, -45.09)
CIE-LCHlch(69.87, 57.46, 308.29°)
OKLaboklab(75.45% 0.0784 -0.1257)
OKLCHoklch(75.45% 0.148 301.9)
XYZxyz(50.7847, 40.5625, 98.0633)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C197FD #D3FD97
analogous
#97A0FD #C197FD #F497FD
triadic
#C197FD #FDC197 #97FDC1
tetradic
#C197FD #FD97A0 #D3FD97 #97FDF4
square
#C197FD #FD97A0 #D3FD97 #97FDF4
split-complementary
#C197FD #FDF497 #A0FD97
monochromatic
#791FFB #9D5BFC #C197FD #E5D3FE #EDE1FE

Accessibility & contrast

On white

2.30
#C197FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#C197FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C197FD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C197FD#FFFFFF#000000##000000
##C197FD1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#B6A8BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c197fd;
/* rgb */ color: rgb(193, 151, 253);
/* oklch */ color: oklch(75.5% 0.148 301.9);
Tailwind
colors: {
  custom: {
    50: '#d5b6fe',
    500: '#c197fd',
    950: '#000000',
  },
}
SCSS
$custom: #c197fd;
$custom-light: #d5b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c197fd",
  "rgb": {
    "r": 193,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 264.706,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75453,
    "c": 0.14808,
    "h": 301.9
  },
  "luminance": 0.40563
}

Semantic roles & 50–950 ramp

primary
#C197FD
secondary
#E9F7D4
accent
#E60087
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C197FD

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

Preview Lab → · Contrast checker → · Palette generator →

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