#6345CE#6345CE

#6345CE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.5% C 0.200 H 286.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6345CE
RGBrgb(99, 69, 206)
HSLhsl(253, 58%, 54%)
HSVhsv(253, 67%, 81%)
CMYKcmyk(51.9%, 66.5%, 0%, 19.2%)
CIE-LABlab(40.19, 47.11, -66.73)
CIE-LCHlch(40.19, 81.69, 305.22°)
OKLaboklab(50.47% 0.0583 -0.1916)
OKLCHoklch(50.47% 0.2 286.9)
XYZxyz(18.4110, 11.3642, 59.6040)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345CE #B0CE45
analogous
#456CCE #6345CE #A845CE
triadic
#6345CE #CE6345 #45CE63
tetradic
#6345CE #CE456C #B0CE45 #45CEA8
square
#6345CE #CE456C #B0CE45 #45CEA8
split-complementary
#6345CE #CEA845 #6CCE45
monochromatic
#332079 #482DA9 #6345CE #8C75DB #B4A6E8

Accessibility & contrast

On white

6.42
#6345CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6345CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345CE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345CE#FFFFFF#000000##FFFFFF
##6345CE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#3A6784
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6345ce;
/* rgb */ color: rgb(99, 69, 206);
/* oklch */ color: oklch(50.5% 0.200 286.9);
Tailwind
colors: {
  custom: {
    50: '#997bde',
    500: '#6345ce',
    950: '#000000',
  },
}
SCSS
$custom: #6345ce;
$custom-light: #997bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6345ce",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 253.139,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.20025,
    "h": 286.9
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#6345CE
secondary
#C8D59A
accent
#E246C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6345CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6345CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva