#6345C3#6345C3

#6345C3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.187 H 288.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6345C3
RGBrgb(99, 69, 195)
HSLhsl(254, 51%, 52%)
HSVhsv(254, 65%, 76%)
CMYKcmyk(49.2%, 64.6%, 0%, 23.5%)
CIE-LABlab(39.32, 43.92, -61.75)
CIE-LCHlch(39.32, 75.78, 305.42°)
OKLaboklab(49.57% 0.0597 -0.1769)
OKLCHoklch(49.57% 0.187 288.6)
XYZxyz(17.1212, 10.8483, 52.8110)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345C3 #A5C345
analogous
#4566C3 #6345C3 #A245C3
triadic
#6345C3 #C36345 #45C363
tetradic
#6345C3 #C34566 #A5C345 #45C3A2
square
#6345C3 #C34566 #A5C345 #45C3A2
split-complementary
#6345C3 #C3A245 #66C345
monochromatic
#34236B #4A3199 #6345C3 #8A73D2 #B1A2E1

Accessibility & contrast

On white

6.63
#6345C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6345C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345C3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345C3#FFFFFF#000000##FFFFFF
##6345C31.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#42647E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6345c3;
/* rgb */ color: rgb(99, 69, 195);
/* oklch */ color: oklch(49.6% 0.187 288.6);
Tailwind
colors: {
  custom: {
    50: '#977ad6',
    500: '#6345c3',
    950: '#000000',
  },
}
SCSS
$custom: #6345c3;
$custom-light: #977ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#6345c3",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 254.286,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.18673,
    "h": 288.6
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

primary
#6345C3
secondary
#C0CE96
accent
#DB4DB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6345C3

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

Preview Lab → · Contrast checker → · Palette generator →

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