#6345D3#6345D3

#6345D3 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.206 H 286.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6345D3
RGBrgb(99, 69, 211)
HSLhsl(253, 62%, 55%)
HSVhsv(253, 67%, 83%)
CMYKcmyk(53.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(40.59, 48.57, -68.96)
CIE-LCHlch(40.59, 84.35, 305.16°)
OKLaboklab(50.88% 0.0576 -0.1981)
OKLCHoklch(50.88% 0.206 286.2)
XYZxyz(19.0281, 11.6110, 62.8539)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345D3 #B5D345
analogous
#456ED3 #6345D3 #AA45D3
triadic
#6345D3 #D36345 #45D363
tetradic
#6345D3 #D3456E #B5D345 #45D3AA
square
#6345D3 #D3456E #B5D345 #45D3AA
split-complementary
#6345D3 #D3AA45 #6ED345
monochromatic
#331E7F #462AB1 #6345D3 #8D76DF #B6A8EA

Accessibility & contrast

On white

6.32
#6345D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6345D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345D3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345D3#FFFFFF#000000##FFFFFF
##6345D31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#356986
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6345d3;
/* rgb */ color: rgb(99, 69, 211);
/* oklch */ color: oklch(50.9% 0.206 286.2);
Tailwind
colors: {
  custom: {
    50: '#997be2',
    500: '#6345d3',
    950: '#000000',
  },
}
SCSS
$custom: #6345d3;
$custom-light: #997be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6345d3",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 252.676,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.20631,
    "h": 286.2
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#6345D3
secondary
#CBD89C
accent
#E543C3
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6345D3

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

Preview Lab → · Contrast checker → · Palette generator →

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