#6347E4#6347E4

#6347E4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.224 H 283.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6347E4
RGBrgb(99, 71, 228)
HSLhsl(251, 74%, 59%)
HSVhsv(251, 69%, 89%)
CMYKcmyk(56.6%, 68.9%, 0%, 10.6%)
CIE-LABlab(42.40, 52.45, -75.72)
CIE-LCHlch(42.40, 92.12, 304.71°)
OKLaboklab(52.61% 0.0532 -0.2179)
OKLCHoklch(52.61% 0.224 283.7)
XYZxyz(21.3981, 12.7592, 74.7190)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6347E4 #C8E447
analogous
#4779E4 #6347E4 #B247E4
triadic
#6347E4 #E46347 #47E463
tetradic
#6347E4 #E44779 #C8E447 #47E4B2
square
#6347E4 #E44779 #C8E447 #47E4B2
split-complementary
#6347E4 #E4B247 #79E447
monochromatic
#2E179A #3E1ECF #6347E4 #907CEC #BDB2F4

Accessibility & contrast

On white

5.91
#6347E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6347E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6347E4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6347E4#FFFFFF#000000##FFFFFF
##6347E41.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#1E7090
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6347e4;
/* rgb */ color: rgb(99, 71, 228);
/* oklch */ color: oklch(52.6% 0.224 283.7);
Tailwind
colors: {
  custom: {
    50: '#9c7dee',
    500: '#6347e4',
    950: '#000000',
  },
}
SCSS
$custom: #6347e4;
$custom-light: #9c7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6347e4",
  "rgb": {
    "r": 99,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 250.701,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.22435,
    "h": 283.7
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#6347E4
secondary
#D7E2A4
accent
#F137D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6347E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6347E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva