#6545CE#6545CE

#6545CE is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.6% C 0.200 H 287.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6545CE
RGBrgb(101, 69, 206)
HSLhsl(254, 58%, 54%)
HSVhsv(254, 67%, 81%)
CMYKcmyk(51%, 66.5%, 0%, 19.2%)
CIE-LABlab(40.37, 47.46, -66.42)
CIE-LCHlch(40.37, 81.63, 305.55°)
OKLaboklab(50.65% 0.0611 -0.1906)
OKLCHoklch(50.65% 0.2 287.8)
XYZxyz(18.6323, 11.4783, 59.6143)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545CE #AECE45
analogous
#456ACE #6545CE #AA45CE
triadic
#6545CE #CE6545 #45CE65
tetradic
#6545CE #CE456A #AECE45 #45CEAA
square
#6545CE #CE456A #AECE45 #45CEAA
split-complementary
#6545CE #CEAA45 #6ACE45
monochromatic
#352079 #4A2DA9 #6545CE #8D75DB #B5A6E8

Accessibility & contrast

On white

6.37
#6545CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6545CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545CE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545CE#FFFFFF#000000##FFFFFF
##6545CE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#3E6784
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6545ce;
/* rgb */ color: rgb(101, 69, 206);
/* oklch */ color: oklch(50.6% 0.200 287.8);
Tailwind
colors: {
  custom: {
    50: '#9a7bde',
    500: '#6545ce',
    950: '#000000',
  },
}
SCSS
$custom: #6545ce;
$custom-light: #9a7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6545ce",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 254.015,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.20013,
    "h": 287.8
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#6545CE
secondary
#C7D59A
accent
#E246BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6545CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva