#6346E7#6346E7

#6346E7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.229 H 283.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6346E7
RGBrgb(99, 70, 231)
HSLhsl(251, 77%, 59%)
HSVhsv(251, 70%, 91%)
CMYKcmyk(57.1%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.46, 53.86, -77.32)
CIE-LCHlch(42.46, 94.23, 304.86°)
OKLaboklab(52.74% 0.0535 -0.2226)
OKLCHoklch(52.74% 0.229 283.5)
XYZxyz(21.7551, 12.8011, 76.9103)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346E7 #CAE746
analogous
#467AE7 #6346E7 #B346E7
triadic
#6346E7 #E76346 #46E763
tetradic
#6346E7 #E7467A #CAE746 #46E7B3
square
#6346E7 #E7467A #CAE746 #46E7B3
split-complementary
#6346E7 #E7B346 #7AE746
monochromatic
#2D159E #3D1CD4 #6346E7 #917CEE #BEB2F5

Accessibility & contrast

On white

5.90
#6346E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6346E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346E7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346E7#FFFFFF#000000##FFFFFF
##6346E71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#187192
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6346e7;
/* rgb */ color: rgb(99, 70, 231);
/* oklch */ color: oklch(52.7% 0.229 283.5);
Tailwind
colors: {
  custom: {
    50: '#9c7cf0',
    500: '#6346e7',
    950: '#000000',
  },
}
SCSS
$custom: #6346e7;
$custom-light: #9c7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6346e7",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 250.807,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.22896,
    "h": 283.5
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#6346E7
secondary
#D9E4A5
accent
#F434D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6346E7

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

Preview Lab → · Contrast checker → · Palette generator →

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