#6545CB#6545CB

#6545CB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.196 H 288.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6545CB
RGBrgb(101, 69, 203)
HSLhsl(254, 56%, 53%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(50.2%, 66%, 0%, 20.4%)
CIE-LABlab(40.14, 46.60, -65.07)
CIE-LCHlch(40.14, 80.03, 305.61°)
OKLaboklab(50.4% 0.0615 -0.1866)
OKLCHoklch(50.4% 0.196 288.2)
XYZxyz(18.2713, 11.3339, 57.7133)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545CB #ABCB45
analogous
#4568CB #6545CB #A845CB
triadic
#6545CB #CB6545 #45CB65
tetradic
#6545CB #CB4568 #ABCB45 #45CBA8
square
#6545CB #CB4568 #ABCB45 #45CBA8
split-complementary
#6545CB #CBA845 #68CB45
monochromatic
#352175 #4A2EA5 #6545CB #8D75D8 #B4A5E6

Accessibility & contrast

On white

6.43
#6545CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6545CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545CB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545CB#FFFFFF#000000##FFFFFF
##6545CB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#406682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6545cb;
/* rgb */ color: rgb(101, 69, 203);
/* oklch */ color: oklch(50.4% 0.196 288.2);
Tailwind
colors: {
  custom: {
    50: '#9a7bdc',
    500: '#6545cb',
    950: '#000000',
  },
}
SCSS
$custom: #6545cb;
$custom-light: #9a7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6545cb",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 254.328,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.19649,
    "h": 288.2
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#6545CB
secondary
#C5D399
accent
#E048BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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