#6346D9#6346D9

#6346D9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.212 H 285.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6346D9
RGBrgb(99, 70, 217)
HSLhsl(252, 66%, 56%)
HSVhsv(252, 68%, 85%)
CMYKcmyk(54.4%, 67.7%, 0%, 14.9%)
CIE-LABlab(41.28, 49.78, -71.27)
CIE-LCHlch(41.28, 86.93, 304.93°)
OKLaboklab(51.53% 0.0558 -0.2049)
OKLCHoklch(51.53% 0.212 285.2)
XYZxyz(19.8564, 12.0416, 66.9102)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346D9 #BCD946
analogous
#4673D9 #6346D9 #AD46D9
triadic
#6346D9 #D96346 #46D963
tetradic
#6346D9 #D94673 #BCD946 #46D9AD
square
#6346D9 #D94673 #BCD946 #46D9AD
split-complementary
#6346D9 #D9AD46 #73D946
monochromatic
#311C89 #4426BB #6346D9 #8E79E3 #B9ACEE

Accessibility & contrast

On white

6.16
#6346D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6346D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346D9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346D9#FFFFFF#000000##FFFFFF
##6346D91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6346d9;
/* rgb */ color: rgb(99, 70, 217);
/* oklch */ color: oklch(51.5% 0.212 285.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ce6',
    500: '#6346d9',
    950: '#000000',
  },
}
SCSS
$custom: #6346d9;
$custom-light: #9a7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6346d9",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 251.837,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.21237,
    "h": 285.2
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6346D9

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

Preview Lab → · Contrast checker → · Palette generator →

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