#C197DF#C197DF

#C197DF is a light, moderate violet. Relative luminance 0.388; OKLCH L 74.1% C 0.111 H 310.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C197DF
RGBrgb(193, 151, 223)
HSLhsl(275, 53%, 73%)
HSVhsv(275, 32%, 87%)
CMYKcmyk(13.5%, 32.3%, 0%, 12.5%)
CIE-LABlab(68.61, 28.95, -30.64)
CIE-LCHlch(68.61, 42.15, 313.38°)
OKLaboklab(74.08% 0.0719 -0.0841)
OKLCHoklch(74.08% 0.111 310.5)
XYZxyz(46.3759, 38.7990, 74.8436)
Luminance0.3880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C197DF #B5DF97
analogous
#9D97DF #C197DF #DF97D9
triadic
#C197DF #DFC197 #97DFC1
tetradic
#C197DF #DF9D97 #B5DF97 #97D9DF
square
#C197DF #DF9D97 #B5DF97 #97D9DF
split-complementary
#C197DF #D9DF97 #97DF9D
monochromatic
#893BC0 #A568D1 #C197DF #DDC6ED #F1E8F8

Accessibility & contrast

On white

2.40
#C197DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#C197DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C197DF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C197DF#FFFFFF#000000##000000
##C197DF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#94A8DD
Tritanopia (blue-blind)
#BEA1B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c197df;
/* rgb */ color: rgb(193, 151, 223);
/* oklch */ color: oklch(74.1% 0.111 310.5);
Tailwind
colors: {
  custom: {
    50: '#d4b6e9',
    500: '#c197df',
    950: '#000000',
  },
}
SCSS
$custom: #c197df;
$custom-light: #d4b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c197df",
  "rgb": {
    "r": 193,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 275,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.11064,
    "h": 310.5
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#C197DF
secondary
#E4EFDC
accent
#C02566
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C197DF

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

Preview Lab → · Contrast checker → · Palette generator →

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