#6345D8#6345D8

#6345D8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.212 H 285.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6345D8
RGBrgb(99, 69, 216)
HSLhsl(252, 65%, 56%)
HSVhsv(252, 68%, 85%)
CMYKcmyk(54.2%, 68.1%, 0%, 15.3%)
CIE-LABlab(41.00, 50.03, -71.16)
CIE-LCHlch(41.00, 86.98, 305.11°)
OKLaboklab(51.31% 0.0568 -0.2046)
OKLCHoklch(51.31% 0.212 285.5)
XYZxyz(19.6647, 11.8657, 66.2065)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345D8 #BAD845
analogous
#4570D8 #6345D8 #AC45D8
triadic
#6345D8 #D86345 #45D863
tetradic
#6345D8 #D84570 #BAD845 #45D8AC
square
#6345D8 #D84570 #BAD845 #45D8AC
split-complementary
#6345D8 #D8AC45 #70D845
monochromatic
#321C86 #4527B9 #6345D8 #8D78E3 #B8AAED

Accessibility & contrast

On white

6.23
#6345D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6345D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345D8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345D8#FFFFFF#000000##FFFFFF
##6345D81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#306B89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6345d8;
/* rgb */ color: rgb(99, 69, 216);
/* oklch */ color: oklch(51.3% 0.212 285.5);
Tailwind
colors: {
  custom: {
    50: '#9a7be5',
    500: '#6345d8',
    950: '#000000',
  },
}
SCSS
$custom: #6345d8;
$custom-light: #9a7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6345d8",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 252.245,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.21232,
    "h": 285.5
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#6345D8
secondary
#CEDB9E
accent
#E840C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6345D8

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

Preview Lab → · Contrast checker → · Palette generator →

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