#6348E7#6348E7

#6348E7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.227 H 283.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6348E7
RGBrgb(99, 72, 231)
HSLhsl(250, 77%, 59%)
HSVhsv(250, 69%, 91%)
CMYKcmyk(57.1%, 68.8%, 0%, 9.4%)
CIE-LABlab(42.85, 52.80, -76.69)
CIE-LCHlch(42.85, 93.11, 304.55°)
OKLaboklab(53.01% 0.0519 -0.2208)
OKLCHoklch(53.01% 0.227 283.2)
XYZxyz(21.8823, 13.0555, 76.9527)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348E7 #CCE748
analogous
#487CE7 #6348E7 #B348E7
triadic
#6348E7 #E76348 #48E763
tetradic
#6348E7 #E7487C #CCE748 #48E7B3
square
#6348E7 #E7487C #CCE748 #48E7B3
split-complementary
#6348E7 #E7B348 #7CE748
monochromatic
#2C15A0 #3C1CD6 #6348E7 #917EEE #BFB4F5

Accessibility & contrast

On white

5.81
#6348E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6348E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348E7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348E7#FFFFFF#000000##FFFFFF
##6348E71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#0060E4
Tritanopia (blue-blind)
#177292
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6348e7;
/* rgb */ color: rgb(99, 72, 231);
/* oklch */ color: oklch(53.0% 0.227 283.2);
Tailwind
colors: {
  custom: {
    50: '#9c7df0',
    500: '#6348e7',
    950: '#000000',
  },
}
SCSS
$custom: #6348e7;
$custom-light: #9c7df0;
$custom-dark: #000000;
JSON
{
  "hex": "#6348e7",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 250.189,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.22681,
    "h": 283.2
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#6348E7
secondary
#DAE4A6
accent
#F334D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6348E7

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

Preview Lab → · Contrast checker → · Palette generator →

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