#C370DF#C370DF

#C370DF is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.9% C 0.177 H 317.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#C370DF
RGBrgb(195, 112, 223)
HSLhsl(285, 63%, 66%)
HSVhsv(285, 50%, 87%)
CMYKcmyk(12.6%, 49.8%, 0%, 12.5%)
CIE-LABlab(60.36, 50.56, -43.49)
CIE-LCHlch(60.36, 66.69, 319.30°)
OKLaboklab(67.93% 0.1298 -0.1208)
OKLCHoklch(67.93% 0.177 317.1)
XYZxyz(41.6172, 28.5195, 73.1103)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C370DF #8CDF70
analogous
#8B70DF #C370DF #DF70C3
triadic
#C370DF #DFC370 #70DFC3
tetradic
#C370DF #DF8B70 #8CDF70 #70C3DF
square
#C370DF #DF8B70 #8CDF70 #70C3DF
split-complementary
#C370DF #C3DF70 #70DF8B
monochromatic
#8C27AE #AE3ED4 #C370DF #D8A2EA #EDD4F5

Accessibility & contrast

On white

3.13
#C370DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#C370DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C370DF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C370DF#FFFFFF#000000##000000
##C370DF1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#7394DC
Tritanopia (blue-blind)
#C2809D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c370df;
/* rgb */ color: rgb(195, 112, 223);
/* oklch */ color: oklch(67.9% 0.177 317.1);
Tailwind
colors: {
  custom: {
    50: '#d79ce9',
    500: '#c370df',
    950: '#000000',
  },
}
SCSS
$custom: #c370df;
$custom-light: #d79ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#c370df",
  "rgb": {
    "r": 195,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 284.865,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67925,
    "c": 0.17726,
    "h": 317.1
  },
  "luminance": 0.28518
}

Semantic roles & 50–950 ramp

primary
#C370DF
secondary
#CCE8C3
accent
#CB1A47
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C370DF

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

Preview Lab → · Contrast checker → · Palette generator →

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