#C372EC#C372EC

#C372EC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.9% C 0.188 H 313.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#C372EC
RGBrgb(195, 114, 236)
HSLhsl(280, 76%, 69%)
HSVhsv(280, 52%, 93%)
CMYKcmyk(17.4%, 51.7%, 0%, 7.5%)
CIE-LABlab(61.39, 52.22, -49.10)
CIE-LCHlch(61.39, 71.68, 316.76°)
OKLaboklab(68.9% 0.1284 -0.1371)
OKLCHoklch(68.9% 0.188 313.1)
XYZxyz(43.6607, 29.6939, 82.7721)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C372EC #9BEC72
analogous
#8672EC #C372EC #EC72D8
triadic
#C372EC #ECC372 #72ECC3
tetradic
#C372EC #EC8672 #9BEC72 #72D8EC
square
#C372EC #EC8672 #9BEC72 #72D8EC
split-complementary
#C372EC #D8EC72 #72EC86
monochromatic
#8E1BC9 #AC3CE5 #C372EC #DAA8F3 #F1DEFB

Accessibility & contrast

On white

3.03
#C372EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#C372EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C372EC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C372EC#FFFFFF#000000##000000
##C372EC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#BF86A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c372ec;
/* rgb */ color: rgb(195, 114, 236);
/* oklch */ color: oklch(68.9% 0.188 313.1);
Tailwind
colors: {
  custom: {
    50: '#d89df2',
    500: '#c372ec',
    950: '#000000',
  },
}
SCSS
$custom: #c372ec;
$custom-light: #d89df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c372ec",
  "rgb": {
    "r": 195,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 279.836,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68898,
    "c": 0.18784,
    "h": 313.1
  },
  "luminance": 0.29693
}

Semantic roles & 50–950 ramp

primary
#C372EC
secondary
#D7EFCB
accent
#D80D51
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C372EC

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

Preview Lab → · Contrast checker → · Palette generator →

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