#6545C8#6545C8

#6545C8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.193 H 288.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6545C8
RGBrgb(101, 69, 200)
HSLhsl(255, 54%, 53%)
HSVhsv(255, 66%, 78%)
CMYKcmyk(49.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(39.90, 45.73, -63.71)
CIE-LCHlch(39.90, 78.43, 305.67°)
OKLaboklab(50.16% 0.0618 -0.1826)
OKLCHoklch(50.16% 0.193 288.7)
XYZxyz(17.9173, 11.1923, 55.8486)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545C8 #A8C845
analogous
#4567C8 #6545C8 #A645C8
triadic
#6545C8 #C86545 #45C865
tetradic
#6545C8 #C84567 #A8C845 #45C8A6
square
#6545C8 #C84567 #A8C845 #45C8A6
split-complementary
#6545C8 #C8A645 #67C845
monochromatic
#352171 #4B2FA0 #6545C8 #8C74D6 #B3A3E4

Accessibility & contrast

On white

6.48
#6545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6545C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545C8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545C8#FFFFFF#000000##FFFFFF
##6545C81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#436580
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6545c8;
/* rgb */ color: rgb(101, 69, 200);
/* oklch */ color: oklch(50.2% 0.193 288.7);
Tailwind
colors: {
  custom: {
    50: '#997bda',
    500: '#6545c8',
    950: '#000000',
  },
}
SCSS
$custom: #6545c8;
$custom-light: #997bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6545c8",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 254.656,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.19282,
    "h": 288.7
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#6545C8
secondary
#C3D198
accent
#DE4ABA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6545C8

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

Preview Lab → · Contrast checker → · Palette generator →

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