#6345CC#6345CC

#6345CC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.198 H 287.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6345CC
RGBrgb(99, 69, 204)
HSLhsl(253, 57%, 54%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(51.5%, 66.2%, 0%, 20%)
CIE-LABlab(40.03, 46.53, -65.84)
CIE-LCHlch(40.03, 80.62, 305.25°)
OKLaboklab(50.3% 0.0586 -0.1889)
OKLCHoklch(50.3% 0.198 287.2)
XYZxyz(18.1696, 11.2676, 58.3325)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345CC #AECC45
analogous
#456ACC #6345CC #A645CC
triadic
#6345CC #CC6345 #45CC63
tetradic
#6345CC #CC456A #AECC45 #45CCA6
square
#6345CC #CC456A #AECC45 #45CCA6
split-complementary
#6345CC #CCA645 #6ACC45
monochromatic
#332076 #482EA6 #6345CC #8B75D9 #B4A5E6

Accessibility & contrast

On white

6.45
#6345CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6345CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345CC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345CC#FFFFFF#000000##FFFFFF
##6345CC1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#3B6783
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6345cc;
/* rgb */ color: rgb(99, 69, 204);
/* oklch */ color: oklch(50.3% 0.198 287.2);
Tailwind
colors: {
  custom: {
    50: '#987bdd',
    500: '#6345cc',
    950: '#000000',
  },
}
SCSS
$custom: #6345cc;
$custom-light: #987bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6345cc",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 253.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.19782,
    "h": 287.2
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#6345CC
secondary
#C6D399
accent
#E048BE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6345CC

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

Preview Lab → · Contrast checker → · Palette generator →

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