#C398CD#C398CD

#C398CD is a light, moderate purple. Relative luminance 0.385; OKLCH L 73.7% C 0.089 H 319.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#C398CD
RGBrgb(195, 152, 205)
HSLhsl(289, 35%, 70%)
HSVhsv(289, 26%, 80%)
CMYKcmyk(4.9%, 25.9%, 0%, 19.6%)
CIE-LABlab(68.36, 25.34, -21.04)
CIE-LCHlch(68.36, 32.94, 320.30°)
OKLaboklab(73.72% 0.0677 -0.057)
OKLCHoklch(73.72% 0.089 319.9)
XYZxyz(44.7519, 38.4673, 62.8132)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C398CD #A2CD98
analogous
#A898CD #C398CD #CD98BD
triadic
#C398CD #CDC398 #98CDC3
tetradic
#C398CD #CDA898 #A2CD98 #98BDCD
square
#C398CD #CDA898 #A2CD98 #98BDCD
split-complementary
#C398CD #BDCD98 #98CDA8
monochromatic
#8F4D9E #AB6FB9 #C398CD #DBC1E1 #F3EAF5

Accessibility & contrast

On white

2.42
#C398CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#C398CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C398CD
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C398CD#FFFFFF#000000##000000
##C398CD1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4CF
Deuteranopia (green-blind)
#9CA8CB
Tritanopia (blue-blind)
#C49EAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c398cd;
/* rgb */ color: rgb(195, 152, 205);
/* oklch */ color: oklch(73.7% 0.089 319.9);
Tailwind
colors: {
  custom: {
    50: '#d5b6dc',
    500: '#c398cd',
    950: '#000000',
  },
}
SCSS
$custom: #c398cd;
$custom-light: #d5b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c398cd",
  "rgb": {
    "r": 195,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 288.679,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.73719,
    "c": 0.08851,
    "h": 319.9
  },
  "luminance": 0.38466
}

Semantic roles & 50–950 ramp

primary
#C398CD
secondary
#DCE8D9
accent
#AD384E
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C398CD

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

Preview Lab → · Contrast checker → · Palette generator →

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