#6346E2#6346E2

#6346E2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.223 H 284.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6346E2
RGBrgb(99, 70, 226)
HSLhsl(251, 73%, 58%)
HSVhsv(251, 69%, 89%)
CMYKcmyk(56.2%, 69%, 0%, 11.4%)
CIE-LABlab(42.04, 52.40, -75.18)
CIE-LCHlch(42.04, 91.64, 304.88°)
OKLaboklab(52.3% 0.0543 -0.2164)
OKLCHoklch(52.3% 0.223 284.1)
XYZxyz(21.0590, 12.5227, 73.2442)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346E2 #C5E246
analogous
#4677E2 #6346E2 #B146E2
triadic
#6346E2 #E26346 #46E263
tetradic
#6346E2 #E24677 #C5E246 #46E2B1
square
#6346E2 #E24677 #C5E246 #46E2B1
split-complementary
#6346E2 #E2B146 #77E246
monochromatic
#2F1896 #4020CB #6346E2 #907BEA #BCB0F3

Accessibility & contrast

On white

5.99
#6346E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6346E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346E2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346E2#FFFFFF#000000##FFFFFF
##6346E21.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#226F8F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6346e2;
/* rgb */ color: rgb(99, 70, 226);
/* oklch */ color: oklch(52.3% 0.223 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c7cec',
    500: '#6346e2',
    950: '#000000',
  },
}
SCSS
$custom: #6346e2;
$custom-light: #9c7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#6346e2",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 251.154,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.22308,
    "h": 284.1
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#6346E2
secondary
#D5E1A3
accent
#F038CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6346E2

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

Preview Lab → · Contrast checker → · Palette generator →

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