#6348E5#6348E5

#6348E5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.224 H 283.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6348E5
RGBrgb(99, 72, 229)
HSLhsl(250, 75%, 59%)
HSVhsv(250, 69%, 90%)
CMYKcmyk(56.8%, 68.6%, 0%, 10.2%)
CIE-LABlab(42.68, 52.21, -75.83)
CIE-LCHlch(42.68, 92.07, 304.55°)
OKLaboklab(52.84% 0.0522 -0.2183)
OKLCHoklch(52.84% 0.224 283.5)
XYZxyz(21.6015, 12.9432, 75.4736)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348E5 #CAE548
analogous
#487CE5 #6348E5 #B148E5
triadic
#6348E5 #E56348 #48E563
tetradic
#6348E5 #E5487C #CAE548 #48E5B1
square
#6348E5 #E5487C #CAE548 #48E5B1
split-complementary
#6348E5 #E5B148 #7CE548
monochromatic
#2D169C #3D1ED2 #6348E5 #917EED #BEB3F4

Accessibility & contrast

On white

5.85
#6348E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6348E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348E5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348E5#FFFFFF#000000##FFFFFF
##6348E51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#1C7191
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6348e5;
/* rgb */ color: rgb(99, 72, 229);
/* oklch */ color: oklch(52.8% 0.224 283.5);
Tailwind
colors: {
  custom: {
    50: '#9c7dee',
    500: '#6348e5',
    950: '#000000',
  },
}
SCSS
$custom: #6348e5;
$custom-light: #9c7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6348e5",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 250.318,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.22444,
    "h": 283.5
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#6348E5
secondary
#D9E3A6
accent
#F236D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6348E5

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

Preview Lab → · Contrast checker → · Palette generator →

#6348E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva