#6345D2#6345D2

#6345D2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.8% C 0.205 H 286.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6345D2
RGBrgb(99, 69, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 67%, 82%)
CMYKcmyk(52.9%, 67.1%, 0%, 17.6%)
CIE-LABlab(40.51, 48.28, -68.51)
CIE-LCHlch(40.51, 83.82, 305.17°)
OKLaboklab(50.8% 0.0578 -0.1968)
OKLCHoklch(50.8% 0.205 286.4)
XYZxyz(18.9031, 11.5610, 62.1957)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345D2 #B4D245
analogous
#456ED2 #6345D2 #AA45D2
triadic
#6345D2 #D26345 #45D263
tetradic
#6345D2 #D2456E #B4D245 #45D2AA
square
#6345D2 #D2456E #B4D245 #45D2AA
split-complementary
#6345D2 #D2AA45 #6ED245
monochromatic
#331F7E #472AAF #6345D2 #8C76DE #B6A8EA

Accessibility & contrast

On white

6.34
#6345D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6345D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345D2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345D2#FFFFFF#000000##FFFFFF
##6345D21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#366986
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6345d2;
/* rgb */ color: rgb(99, 69, 210);
/* oklch */ color: oklch(50.8% 0.205 286.4);
Tailwind
colors: {
  custom: {
    50: '#997be1',
    500: '#6345d2',
    950: '#000000',
  },
}
SCSS
$custom: #6345d2;
$custom-light: #997be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6345d2",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 252.766,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.20511,
    "h": 286.4
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#6345D2
secondary
#CAD79C
accent
#E444C2
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6345D2

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

Preview Lab → · Contrast checker → · Palette generator →

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