#6345BC#6345BC

#6345BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.178 H 289.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6345BC
RGBrgb(99, 69, 188)
HSLhsl(255, 47%, 50%)
HSVhsv(255, 63%, 74%)
CMYKcmyk(47.3%, 63.3%, 0%, 26.3%)
CIE-LABlab(38.79, 41.89, -58.52)
CIE-LCHlch(38.79, 71.97, 305.59°)
OKLaboklab(49.02% 0.0604 -0.1674)
OKLCHoklch(49.02% 0.178 289.8)
XYZxyz(16.3482, 10.5391, 48.7401)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345BC #9EBC45
analogous
#4562BC #6345BC #9E45BC
triadic
#6345BC #BC6345 #45BC63
tetradic
#6345BC #BC4562 #9EBC45 #45BC9E
square
#6345BC #BC4562 #9EBC45 #45BC9E
split-complementary
#6345BC #BC9E45 #62BC45
monochromatic
#342463 #4B3490 #6345BC #8972CC #AE9FDC

Accessibility & contrast

On white

6.76
#6345BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6345BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345BC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345BC#FFFFFF#000000##FFFFFF
##6345BC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#47617A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6345bc;
/* rgb */ color: rgb(99, 69, 188);
/* oklch */ color: oklch(49.0% 0.178 289.8);
Tailwind
colors: {
  custom: {
    50: '#967ad1',
    500: '#6345bc',
    950: '#000000',
  },
}
SCSS
$custom: #6345bc;
$custom-light: #967ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6345bc",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 255.126,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.17798,
    "h": 289.8
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#6345BC
secondary
#BCC994
accent
#D751B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6345BC

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

Preview Lab → · Contrast checker → · Palette generator →

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