#C374EB#C374EB

#C374EB is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.184 H 313.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C374EB
RGBrgb(195, 116, 235)
HSLhsl(280, 75%, 69%)
HSVhsv(280, 51%, 92%)
CMYKcmyk(17%, 50.6%, 0%, 7.8%)
CIE-LABlab(61.73, 50.98, -48.00)
CIE-LCHlch(61.73, 70.02, 316.72°)
OKLaboklab(69.14% 0.1257 -0.1339)
OKLCHoklch(69.14% 0.184 313.2)
XYZxyz(43.7439, 30.0921, 82.0852)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C374EB #9CEB74
analogous
#8874EB #C374EB #EB74D8
triadic
#C374EB #EBC374 #74EBC3
tetradic
#C374EB #EB8874 #9CEB74 #74D8EB
square
#C374EB #EB8874 #9CEB74 #74D8EB
split-complementary
#C374EB #D8EB74 #74EB88
monochromatic
#8E1DC8 #AC3EE3 #C374EB #DAAAF3 #F1DFFA

Accessibility & contrast

On white

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

On black

7.02
#C374EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C374EB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C374EB#FFFFFF#000000##000000
##C374EB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#BF87A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c374eb;
/* rgb */ color: rgb(195, 116, 235);
/* oklch */ color: oklch(69.1% 0.184 313.2);
Tailwind
colors: {
  custom: {
    50: '#d79ef2',
    500: '#c374eb',
    950: '#000000',
  },
}
SCSS
$custom: #c374eb;
$custom-light: #d79ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c374eb",
  "rgb": {
    "r": 195,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 279.832,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.18364,
    "h": 313.2
  },
  "luminance": 0.30091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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