#6545CF#6545CF

#6545CF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.7% C 0.201 H 287.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6545CF
RGBrgb(101, 69, 207)
HSLhsl(254, 59%, 54%)
HSVhsv(254, 67%, 81%)
CMYKcmyk(51.2%, 66.7%, 0%, 18.8%)
CIE-LABlab(40.45, 47.75, -66.87)
CIE-LCHlch(40.45, 82.17, 305.53°)
OKLaboklab(50.73% 0.0609 -0.1919)
OKLCHoklch(50.73% 0.201 287.6)
XYZxyz(18.7541, 11.5270, 60.2561)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545CF #AFCF45
analogous
#456ACF #6545CF #AA45CF
triadic
#6545CF #CF6545 #45CF65
tetradic
#6545CF #CF456A #AFCF45 #45CFAA
square
#6545CF #CF456A #AFCF45 #45CFAA
split-complementary
#6545CF #CFAA45 #6ACF45
monochromatic
#35207A #492CAB #6545CF #8D76DC #B6A6E8

Accessibility & contrast

On white

6.35
#6545CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6545CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545CF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545CF#FFFFFF#000000##FFFFFF
##6545CF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#3D6884
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6545cf;
/* rgb */ color: rgb(101, 69, 207);
/* oklch */ color: oklch(50.7% 0.201 287.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bdf',
    500: '#6545cf',
    950: '#000000',
  },
}
SCSS
$custom: #6545cf;
$custom-light: #9a7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6545cf",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 253.913,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.20133,
    "h": 287.6
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#6545CF
secondary
#C8D59B
accent
#E246BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545CF

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

Preview Lab → · Contrast checker → · Palette generator →

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