#6545DF#6545DF

#6545DF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.220 H 285.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6545DF
RGBrgb(101, 69, 223)
HSLhsl(252, 71%, 57%)
HSVhsv(252, 69%, 87%)
CMYKcmyk(54.7%, 69.1%, 0%, 12.5%)
CIE-LABlab(41.77, 52.37, -73.90)
CIE-LCHlch(41.77, 90.58, 305.32°)
OKLaboklab(52.08% 0.0584 -0.2126)
OKLCHoklch(52.08% 0.22 285.4)
XYZxyz(20.8102, 12.3495, 71.0849)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545DF #BFDF45
analogous
#4572DF #6545DF #B245DF
triadic
#6545DF #DF6545 #45DF65
tetradic
#6545DF #DF4572 #BFDF45 #45DFB2
square
#6545DF #DF4572 #BFDF45 #45DFB2
split-complementary
#6545DF #DFB245 #72DF45
monochromatic
#321991 #4422C5 #6545DF #9079E8 #BBADF1

Accessibility & contrast

On white

6.05
#6545DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6545DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545DF#FFFFFF#000000##FFFFFF
##6545DF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#2E6D8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6545df;
/* rgb */ color: rgb(101, 69, 223);
/* oklch */ color: oklch(52.1% 0.220 285.4);
Tailwind
colors: {
  custom: {
    50: '#9c7bea',
    500: '#6545df',
    950: '#000000',
  },
}
SCSS
$custom: #6545df;
$custom-light: #9c7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#6545df",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 252.468,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.22043,
    "h": 285.4
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#6545DF
secondary
#D2DFA1
accent
#ED3AC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6545DF

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

Preview Lab → · Contrast checker → · Palette generator →

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