#6346EB#6346EB

#6346EB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.234 H 283.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6346EB
RGBrgb(99, 70, 235)
HSLhsl(251, 80%, 60%)
HSVhsv(251, 70%, 92%)
CMYKcmyk(57.9%, 70.2%, 0%, 7.8%)
CIE-LABlab(42.81, 55.02, -79.02)
CIE-LCHlch(42.81, 96.29, 304.85°)
OKLaboklab(53.09% 0.0527 -0.2276)
OKLCHoklch(53.09% 0.234 283)
XYZxyz(22.3265, 13.0297, 79.9196)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346EB #CEEB46
analogous
#467CEB #6346EB #B546EB
triadic
#6346EB #EB6346 #46EB63
tetradic
#6346EB #EB467C #CEEB46 #46EBB5
square
#6346EB #EB467C #CEEB46 #46EBB5
split-complementary
#6346EB #EBB546 #7CEB46
monochromatic
#2C12A5 #3A18DC #6346EB #927DF1 #C0B4F7

Accessibility & contrast

On white

5.82
#6346EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6346EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346EB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346EB#FFFFFF#000000##FFFFFF
##6346EB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#0B7294
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6346eb;
/* rgb */ color: rgb(99, 70, 235);
/* oklch */ color: oklch(53.1% 0.234 283.0);
Tailwind
colors: {
  custom: {
    50: '#9d7cf3',
    500: '#6346eb',
    950: '#000000',
  },
}
SCSS
$custom: #6346eb;
$custom-light: #9d7cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6346eb",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 250.545,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.23363,
    "h": 283
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#6346EB
secondary
#DBE6A7
accent
#F731D4
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6346EB

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

Preview Lab → · Contrast checker → · Palette generator →

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