#6345D7#6345D7

#6345D7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.211 H 285.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6345D7
RGBrgb(99, 69, 215)
HSLhsl(252, 65%, 56%)
HSVhsv(252, 68%, 84%)
CMYKcmyk(54%, 67.9%, 0%, 15.7%)
CIE-LABlab(40.92, 49.74, -70.72)
CIE-LCHlch(40.92, 86.46, 305.12°)
OKLaboklab(51.22% 0.057 -0.2033)
OKLCHoklch(51.22% 0.211 285.7)
XYZxyz(19.5358, 11.8141, 65.5278)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345D7 #B9D745
analogous
#4570D7 #6345D7 #AC45D7
triadic
#6345D7 #D76345 #45D763
tetradic
#6345D7 #D74570 #B9D745 #45D7AC
square
#6345D7 #D74570 #B9D745 #45D7AC
split-complementary
#6345D7 #D7AC45 #70D745
monochromatic
#321D85 #4527B7 #6345D7 #8D77E2 #B7AAED

Accessibility & contrast

On white

6.24
#6345D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6345D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345D7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345D7#FFFFFF#000000##FFFFFF
##6345D71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#316B89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6345d7;
/* rgb */ color: rgb(99, 69, 215);
/* oklch */ color: oklch(51.2% 0.211 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a7be4',
    500: '#6345d7',
    950: '#000000',
  },
}
SCSS
$custom: #6345d7;
$custom-light: #9a7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6345d7",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 252.329,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.21112,
    "h": 285.7
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#6345D7
secondary
#CEDA9E
accent
#E840C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6345D7

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

Preview Lab → · Contrast checker → · Palette generator →

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