#C374EC#C374EC

#C374EC is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.2% C 0.185 H 312.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C374EC
RGBrgb(195, 116, 236)
HSLhsl(280, 76%, 69%)
HSVhsv(280, 51%, 93%)
CMYKcmyk(17.4%, 50.8%, 0%, 7.5%)
CIE-LABlab(61.78, 51.19, -48.48)
CIE-LCHlch(61.78, 70.50, 316.56°)
OKLaboklab(69.19% 0.1258 -0.1353)
OKLCHoklch(69.19% 0.185 312.9)
XYZxyz(43.8888, 30.1501, 82.8482)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C374EC #9DEC74
analogous
#8774EC #C374EC #EC74D9
triadic
#C374EC #ECC374 #74ECC3
tetradic
#C374EC #EC8774 #9DEC74 #74D9EC
square
#C374EC #EC8774 #9DEC74 #74D9EC
split-complementary
#C374EC #D9EC74 #74EC87
monochromatic
#8E1CCA #AC3EE5 #C374EC #DAAAF3 #F1E0FB

Accessibility & contrast

On white

2.99
#C374EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C374EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C374EC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C374EC#FFFFFF#000000##000000
##C374EC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#BF87A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c374ec;
/* rgb */ color: rgb(195, 116, 236);
/* oklch */ color: oklch(69.2% 0.185 312.9);
Tailwind
colors: {
  custom: {
    50: '#d79ef2',
    500: '#c374ec',
    950: '#000000',
  },
}
SCSS
$custom: #c374ec;
$custom-light: #d79ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c374ec",
  "rgb": {
    "r": 195,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 279.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6919,
    "c": 0.18471,
    "h": 312.9
  },
  "luminance": 0.30149
}

Semantic roles & 50–950 ramp

primary
#C374EC
secondary
#D8EFCC
accent
#D80D53
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C374EC

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

Preview Lab → · Contrast checker → · Palette generator →

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