#C371DD#C371DD

#C371DD is a light, vivid purple. Relative luminance 0.286; OKLCH L 68.0% C 0.174 H 317.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#C371DD
RGBrgb(195, 113, 221)
HSLhsl(286, 61%, 65%)
HSVhsv(286, 49%, 87%)
CMYKcmyk(11.8%, 48.9%, 0%, 13.3%)
CIE-LABlab(60.46, 49.64, -42.21)
CIE-LCHlch(60.46, 65.16, 319.63°)
OKLaboklab(67.97% 0.1281 -0.1171)
OKLCHoklch(67.97% 0.174 317.6)
XYZxyz(41.4601, 28.6342, 71.7356)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371DD #8BDD71
analogous
#8D71DD #C371DD #DD71C1
triadic
#C371DD #DDC371 #71DDC3
tetradic
#C371DD #DD8D71 #8BDD71 #71C1DD
square
#C371DD #DD8D71 #8BDD71 #71C1DD
split-complementary
#C371DD #C1DD71 #71DD8D
monochromatic
#8B29AB #AE40D1 #C371DD #D8A2E9 #EDD4F5

Accessibility & contrast

On white

3.12
#C371DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#C371DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371DD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371DD#FFFFFF#000000##000000
##C371DD1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE1
Deuteranopia (green-blind)
#7594DA
Tritanopia (blue-blind)
#C3809D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c371dd;
/* rgb */ color: rgb(195, 113, 221);
/* oklch */ color: oklch(68.0% 0.174 317.6);
Tailwind
colors: {
  custom: {
    50: '#d79ce8',
    500: '#c371dd',
    950: '#000000',
  },
}
SCSS
$custom: #c371dd;
$custom-light: #d79ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#c371dd",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 285.556,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6797,
    "c": 0.17356,
    "h": 317.6
  },
  "luminance": 0.28633
}

Semantic roles & 50–950 ramp

primary
#C371DD
secondary
#CCE7C3
accent
#C91C46
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C371DD

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

Preview Lab → · Contrast checker → · Palette generator →

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