#6545CA#6545CA

#6545CA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.195 H 288.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6545CA
RGBrgb(101, 69, 202)
HSLhsl(254, 56%, 53%)
HSVhsv(254, 66%, 79%)
CMYKcmyk(50%, 65.8%, 0%, 20.8%)
CIE-LABlab(40.06, 46.31, -64.62)
CIE-LCHlch(40.06, 79.50, 305.63°)
OKLaboklab(50.32% 0.0616 -0.1853)
OKLCHoklch(50.32% 0.195 288.4)
XYZxyz(18.1525, 11.2864, 57.0877)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545CA #AACA45
analogous
#4567CA #6545CA #A745CA
triadic
#6545CA #CA6545 #45CA65
tetradic
#6545CA #CA4567 #AACA45 #45CAA7
square
#6545CA #CA4567 #AACA45 #45CAA7
split-complementary
#6545CA #CAA745 #67CA45
monochromatic
#352174 #4B2FA3 #6545CA #8C75D8 #B4A4E5

Accessibility & contrast

On white

6.45
#6545CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6545CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545CA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545CA#FFFFFF#000000##FFFFFF
##6545CA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#416681
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6545ca;
/* rgb */ color: rgb(101, 69, 202);
/* oklch */ color: oklch(50.3% 0.195 288.4);
Tailwind
colors: {
  custom: {
    50: '#997bdb',
    500: '#6545ca',
    950: '#000000',
  },
}
SCSS
$custom: #6545ca;
$custom-light: #997bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6545ca",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 254.436,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.19526,
    "h": 288.4
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#6545CA
secondary
#C4D299
accent
#DF49BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545CA

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

Preview Lab → · Contrast checker → · Palette generator →

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