#6345CF#6345CF

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

Color values

HEX#6345CF
RGBrgb(99, 69, 207)
HSLhsl(253, 59%, 54%)
HSVhsv(253, 67%, 81%)
CMYKcmyk(52.2%, 66.7%, 0%, 18.8%)
CIE-LABlab(40.27, 47.41, -67.18)
CIE-LCHlch(40.27, 82.22, 305.21°)
OKLaboklab(50.55% 0.0582 -0.1929)
OKLCHoklch(50.55% 0.201 286.8)
XYZxyz(18.5329, 11.4130, 60.2458)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345CF #B1CF45
analogous
#456CCF #6345CF #A845CF
triadic
#6345CF #CF6345 #45CF63
tetradic
#6345CF #CF456C #B1CF45 #45CFA8
square
#6345CF #CF456C #B1CF45 #45CFA8
split-complementary
#6345CF #CFA845 #6CCF45
monochromatic
#33207A #482CAB #6345CF #8C76DC #B5A6E8

Accessibility & contrast

On white

6.40
#6345CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6345CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345CF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345CF#FFFFFF#000000##FFFFFF
##6345CF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#396884
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6345cf;
/* rgb */ color: rgb(99, 69, 207);
/* oklch */ color: oklch(50.5% 0.201 286.8);
Tailwind
colors: {
  custom: {
    50: '#997bdf',
    500: '#6345cf',
    950: '#000000',
  },
}
SCSS
$custom: #6345cf;
$custom-light: #997bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6345cf",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 253.043,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.20147,
    "h": 286.8
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6345CF

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

Preview Lab → · Contrast checker → · Palette generator →

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