#C397E9#C397E9

#C397E9 is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.7% C 0.124 H 308.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#C397E9
RGBrgb(195, 151, 233)
HSLhsl(272, 65%, 75%)
HSVhsv(272, 35%, 91%)
CMYKcmyk(16.3%, 35.2%, 0%, 8.6%)
CIE-LABlab(69.20, 31.71, -35.20)
CIE-LCHlch(69.20, 47.38, 312.01°)
OKLaboklab(74.71% 0.0766 -0.0971)
OKLCHoklch(74.71% 0.124 308.2)
XYZxyz(48.2775, 39.6190, 82.1789)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C397E9 #BDE997
analogous
#9A97E9 #C397E9 #E997E6
triadic
#C397E9 #E9C397 #97E9C3
tetradic
#C397E9 #E99A97 #BDE997 #97E6E9
square
#C397E9 #E99A97 #BDE997 #97E6E9
split-complementary
#C397E9 #E6E997 #97E99A
monochromatic
#8932D4 #A664DE #C397E9 #E0CAF4 #F0E6FA

Accessibility & contrast

On white

2.35
#C397E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#C397E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C397E9
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C397E9#FFFFFF#000000##000000
##C397E91.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A7EC
Deuteranopia (green-blind)
#91AAE7
Tritanopia (blue-blind)
#BEA3B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c397e9;
/* rgb */ color: rgb(195, 151, 233);
/* oklch */ color: oklch(74.7% 0.124 308.2);
Tailwind
colors: {
  custom: {
    50: '#d6b6f0',
    500: '#c397e9',
    950: '#000000',
  },
}
SCSS
$custom: #c397e9;
$custom-light: #d6b6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c397e9",
  "rgb": {
    "r": 195,
    "g": 151,
    "b": 233
  },
  "hsl": {
    "h": 272.195,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74707,
    "c": 0.12368,
    "h": 308.2
  },
  "luminance": 0.39619
}

Semantic roles & 50–950 ramp

primary
#C397E9
secondary
#E5F1DA
accent
#CD196C
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C397E9

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

Preview Lab → · Contrast checker → · Palette generator →

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