#6345CB#6345CB

#6345CB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.197 H 287.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6345CB
RGBrgb(99, 69, 203)
HSLhsl(253, 56%, 53%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(51.2%, 66%, 0%, 20.4%)
CIE-LABlab(39.95, 46.24, -65.39)
CIE-LCHlch(39.95, 80.08, 305.27°)
OKLaboklab(50.22% 0.0587 -0.1876)
OKLCHoklch(50.22% 0.197 287.4)
XYZxyz(18.0500, 11.2198, 57.7029)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345CB #ADCB45
analogous
#456ACB #6345CB #A645CB
triadic
#6345CB #CB6345 #45CB63
tetradic
#6345CB #CB456A #ADCB45 #45CBA6
square
#6345CB #CB456A #ADCB45 #45CBA6
split-complementary
#6345CB #CBA645 #6ACB45
monochromatic
#342175 #492EA5 #6345CB #8B75D8 #B3A5E6

Accessibility & contrast

On white

6.47
#6345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6345CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345CB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345CB#FFFFFF#000000##FFFFFF
##6345CB1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#3C6682
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6345cb;
/* rgb */ color: rgb(99, 69, 203);
/* oklch */ color: oklch(50.2% 0.197 287.4);
Tailwind
colors: {
  custom: {
    50: '#987bdc',
    500: '#6345cb',
    950: '#000000',
  },
}
SCSS
$custom: #6345cb;
$custom-light: #987bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6345cb",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 253.433,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5022,
    "c": 0.19659,
    "h": 287.4
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#6345CB
secondary
#C6D399
accent
#E048BE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6345CB

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

Preview Lab → · Contrast checker → · Palette generator →

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