#6345D9#6345D9

#6345D9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.214 H 285.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6345D9
RGBrgb(99, 69, 217)
HSLhsl(252, 66%, 56%)
HSVhsv(252, 68%, 85%)
CMYKcmyk(54.4%, 68.2%, 0%, 14.9%)
CIE-LABlab(41.08, 50.32, -71.60)
CIE-LCHlch(41.08, 87.51, 305.10°)
OKLaboklab(51.39% 0.0567 -0.2058)
OKLCHoklch(51.39% 0.214 285.4)
XYZxyz(19.7943, 11.9175, 66.8895)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345D9 #BBD945
analogous
#4571D9 #6345D9 #AD45D9
triadic
#6345D9 #D96345 #45D963
tetradic
#6345D9 #D94571 #BBD945 #45D9AD
square
#6345D9 #D94571 #BBD945 #45D9AD
split-complementary
#6345D9 #D9AD45 #71D945
monochromatic
#321C88 #4426BB #6345D9 #8E78E3 #B8ABEE

Accessibility & contrast

On white

6.21
#6345D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6345D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345D9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345D9#FFFFFF#000000##FFFFFF
##6345D91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#2F6B8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6345d9;
/* rgb */ color: rgb(99, 69, 217);
/* oklch */ color: oklch(51.4% 0.214 285.4);
Tailwind
colors: {
  custom: {
    50: '#9a7be6',
    500: '#6345d9',
    950: '#000000',
  },
}
SCSS
$custom: #6345d9;
$custom-light: #9a7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6345d9",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 252.162,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.21351,
    "h": 285.4
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#6345D9
secondary
#CFDB9E
accent
#E93FC7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6345D9

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

Preview Lab → · Contrast checker → · Palette generator →

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