#C370DD#C370DD

#C370DD is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.8% C 0.175 H 317.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C370DD
RGBrgb(195, 112, 221)
HSLhsl(286, 62%, 65%)
HSVhsv(286, 49%, 87%)
CMYKcmyk(11.8%, 49.3%, 0%, 13.3%)
CIE-LABlab(60.26, 50.16, -42.52)
CIE-LCHlch(60.26, 65.75, 319.71°)
OKLaboklab(67.82% 0.1295 -0.118)
OKLCHoklch(67.82% 0.175 317.7)
XYZxyz(41.3492, 28.4123, 71.6986)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C370DD #8ADD70
analogous
#8C70DD #C370DD #DD70C0
triadic
#C370DD #DDC370 #70DDC3
tetradic
#C370DD #DD8C70 #8ADD70 #70C0DD
square
#C370DD #DD8C70 #8ADD70 #70C0DD
split-complementary
#C370DD #C0DD70 #70DD8C
monochromatic
#8B28AA #AE3FD1 #C370DD #D8A1E9 #ECD3F5

Accessibility & contrast

On white

3.14
#C370DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C370DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C370DD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C370DD#FFFFFF#000000##000000
##C370DD1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE1
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#C3809C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c370dd;
/* rgb */ color: rgb(195, 112, 221);
/* oklch */ color: oklch(67.8% 0.175 317.7);
Tailwind
colors: {
  custom: {
    50: '#d79ce8',
    500: '#c370dd',
    950: '#000000',
  },
}
SCSS
$custom: #c370dd;
$custom-light: #d79ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#c370dd",
  "rgb": {
    "r": 195,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 285.688,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67823,
    "c": 0.17518,
    "h": 317.7
  },
  "luminance": 0.28411
}

Semantic roles & 50–950 ramp

primary
#C370DD
secondary
#CBE7C2
accent
#C91C45
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C370DD

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

Preview Lab → · Contrast checker → · Palette generator →

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