#C372F7#C372F7

#C372F7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.5% C 0.200 H 310.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C372F7
RGBrgb(195, 114, 247)
HSLhsl(277, 89%, 71%)
HSVhsv(277, 54%, 97%)
CMYKcmyk(21.1%, 53.8%, 0%, 3.1%)
CIE-LABlab(61.96, 54.56, -54.29)
CIE-LCHlch(61.96, 76.97, 315.14°)
OKLaboklab(69.5% 0.1292 -0.1522)
OKLCHoklch(69.5% 0.2 310.3)
XYZxyz(45.3084, 30.3530, 91.4496)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C372F7 #A6F772
analogous
#8072F7 #C372F7 #F772E9
triadic
#C372F7 #F7C372 #72F7C3
tetradic
#C372F7 #F78072 #A6F772 #72E9F7
square
#C372F7 #F78072 #A6F772 #72E9F7
split-complementary
#C372F7 #E9F772 #72F780
monochromatic
#8F0DE2 #AA38F4 #C372F7 #DCACFA #F3E2FD

Accessibility & contrast

On white

2.97
#C372F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C372F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C372F7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C372F7#FFFFFF#000000##000000
##C372F71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#BD89AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c372f7;
/* rgb */ color: rgb(195, 114, 247);
/* oklch */ color: oklch(69.5% 0.200 310.3);
Tailwind
colors: {
  custom: {
    50: '#d89dfa',
    500: '#c372f7',
    950: '#000000',
  },
}
SCSS
$custom: #c372f7;
$custom-light: #d89dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c372f7",
  "rgb": {
    "r": 195,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 276.541,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.19967,
    "h": 310.3
  },
  "luminance": 0.30352
}

Semantic roles & 50–950 ramp

primary
#C372F7
secondary
#DFF4D1
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C372F7

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

Preview Lab → · Contrast checker → · Palette generator →

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