#6345CA#6345CA

#6345CA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.195 H 287.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6345CA
RGBrgb(99, 69, 202)
HSLhsl(254, 56%, 53%)
HSVhsv(254, 66%, 79%)
CMYKcmyk(51%, 65.8%, 0%, 20.8%)
CIE-LABlab(39.87, 45.95, -64.94)
CIE-LCHlch(39.87, 79.55, 305.28°)
OKLaboklab(50.14% 0.0588 -0.1863)
OKLCHoklch(50.14% 0.195 287.5)
XYZxyz(17.9313, 11.1723, 57.0773)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345CA #ACCA45
analogous
#4569CA #6345CA #A645CA
triadic
#6345CA #CA6345 #45CA63
tetradic
#6345CA #CA4569 #ACCA45 #45CAA6
square
#6345CA #CA4569 #ACCA45 #45CAA6
split-complementary
#6345CA #CAA645 #69CA45
monochromatic
#342174 #492FA3 #6345CA #8B75D8 #B3A4E5

Accessibility & contrast

On white

6.49
#6345CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6345CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345CA#FFFFFF#000000##FFFFFF
##6345CA1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#3D6681
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6345ca;
/* rgb */ color: rgb(99, 69, 202);
/* oklch */ color: oklch(50.1% 0.195 287.5);
Tailwind
colors: {
  custom: {
    50: '#987bdb',
    500: '#6345ca',
    950: '#000000',
  },
}
SCSS
$custom: #6345ca;
$custom-light: #987bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6345ca",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 253.534,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.19537,
    "h": 287.5
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#6345CA
secondary
#C5D299
accent
#DF49BD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6345CA

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

Preview Lab → · Contrast checker → · Palette generator →

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