#6345C8#6345C8

#6345C8 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.193 H 287.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6345C8
RGBrgb(99, 69, 200)
HSLhsl(254, 54%, 53%)
HSVhsv(254, 66%, 78%)
CMYKcmyk(50.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(39.71, 45.37, -64.03)
CIE-LCHlch(39.71, 78.48, 305.32°)
OKLaboklab(49.98% 0.0591 -0.1836)
OKLCHoklch(49.98% 0.193 287.8)
XYZxyz(17.6960, 11.0782, 55.8383)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345C8 #AAC845
analogous
#4569C8 #6345C8 #A445C8
triadic
#6345C8 #C86345 #45C863
tetradic
#6345C8 #C84569 #AAC845 #45C8A4
square
#6345C8 #C84569 #AAC845 #45C8A4
split-complementary
#6345C8 #C8A445 #69C845
monochromatic
#342171 #492FA0 #6345C8 #8B74D6 #B2A3E4

Accessibility & contrast

On white

6.53
#6345C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6345C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345C8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345C8#FFFFFF#000000##FFFFFF
##6345C81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#3E6580
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6345c8;
/* rgb */ color: rgb(99, 69, 200);
/* oklch */ color: oklch(50.0% 0.193 287.8);
Tailwind
colors: {
  custom: {
    50: '#987ada',
    500: '#6345c8',
    950: '#000000',
  },
}
SCSS
$custom: #6345c8;
$custom-light: #987ada;
$custom-dark: #000000;
JSON
{
  "hex": "#6345c8",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 253.74,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.19291,
    "h": 287.8
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#6345C8
secondary
#C4D198
accent
#DE4ABC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6345C8

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

Preview Lab → · Contrast checker → · Palette generator →

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