#6345C2#6345C2

#6345C2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.185 H 288.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6345C2
RGBrgb(99, 69, 194)
HSLhsl(254, 51%, 52%)
HSVhsv(254, 64%, 76%)
CMYKcmyk(49%, 64.4%, 0%, 23.9%)
CIE-LABlab(39.25, 43.63, -61.29)
CIE-LCHlch(39.25, 75.23, 305.44°)
OKLaboklab(49.5% 0.0598 -0.1756)
OKLCHoklch(49.5% 0.185 288.8)
XYZxyz(17.0085, 10.8032, 52.2175)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345C2 #A4C245
analogous
#4566C2 #6345C2 #A245C2
triadic
#6345C2 #C26345 #45C263
tetradic
#6345C2 #C24566 #A4C245 #45C2A2
square
#6345C2 #C24566 #A4C245 #45C2A2
split-complementary
#6345C2 #C2A245 #66C245
monochromatic
#34236A #4A3298 #6345C2 #8A73D1 #B0A1E0

Accessibility & contrast

On white

6.64
#6345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6345C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345C2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345C2#FFFFFF#000000##FFFFFF
##6345C21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#43637D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6345c2;
/* rgb */ color: rgb(99, 69, 194);
/* oklch */ color: oklch(49.5% 0.185 288.8);
Tailwind
colors: {
  custom: {
    50: '#977ad5',
    500: '#6345c2',
    950: '#000000',
  },
}
SCSS
$custom: #6345c2;
$custom-light: #977ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#6345c2",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 254.4,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.18549,
    "h": 288.8
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#6345C2
secondary
#C0CD96
accent
#DA4EB8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6345C2

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

Preview Lab → · Contrast checker → · Palette generator →

#6345C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva