#6345D6#6345D6

#6345D6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.210 H 285.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6345D6
RGBrgb(99, 69, 214)
HSLhsl(252, 64%, 55%)
HSVhsv(252, 68%, 84%)
CMYKcmyk(53.7%, 67.8%, 0%, 16.1%)
CIE-LABlab(40.84, 49.44, -70.28)
CIE-LCHlch(40.84, 85.93, 305.13°)
OKLaboklab(51.14% 0.0572 -0.202)
OKLCHoklch(51.14% 0.21 285.8)
XYZxyz(19.4077, 11.7629, 64.8531)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345D6 #B8D645
analogous
#456FD6 #6345D6 #AC45D6
triadic
#6345D6 #D66345 #45D663
tetradic
#6345D6 #D6456F #B8D645 #45D6AC
square
#6345D6 #D6456F #B8D645 #45D6AC
split-complementary
#6345D6 #D6AC45 #6FD645
monochromatic
#321D84 #4528B6 #6345D6 #8D77E1 #B7A9EC

Accessibility & contrast

On white

6.26
#6345D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6345D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345D6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345D6#FFFFFF#000000##FFFFFF
##6345D61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005CD3
Tritanopia (blue-blind)
#326A88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6345d6;
/* rgb */ color: rgb(99, 69, 214);
/* oklch */ color: oklch(51.1% 0.210 285.8);
Tailwind
colors: {
  custom: {
    50: '#9a7be4',
    500: '#6345d6',
    950: '#000000',
  },
}
SCSS
$custom: #6345d6;
$custom-light: #9a7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6345d6",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 252.414,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.20992,
    "h": 285.8
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#6345D6
secondary
#CDDA9D
accent
#E741C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6345D6

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

Preview Lab → · Contrast checker → · Palette generator →

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