#6545E6#6545E6

#6545E6 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.229 H 284.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6545E6
RGBrgb(101, 69, 230)
HSLhsl(252, 76%, 59%)
HSVhsv(252, 70%, 90%)
CMYKcmyk(56.1%, 70%, 0%, 9.8%)
CIE-LABlab(42.36, 54.38, -76.91)
CIE-LCHlch(42.36, 94.20, 305.26°)
OKLaboklab(52.68% 0.0571 -0.2214)
OKLCHoklch(52.68% 0.229 284.5)
XYZxyz(21.7735, 12.7348, 76.1583)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545E6 #C6E645
analogous
#4575E6 #6545E6 #B545E6
triadic
#6545E6 #E66545 #45E665
tetradic
#6545E6 #E64575 #C6E645 #45E6B5
square
#6545E6 #E64575 #C6E645 #45E6B5
split-complementary
#6545E6 #E6B545 #75E645
monochromatic
#30159C #401CD2 #6545E6 #927BED #BEB1F5

Accessibility & contrast

On white

5.92
#6545E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6545E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545E6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545E6#FFFFFF#000000##FFFFFF
##6545E61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#247091
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6545e6;
/* rgb */ color: rgb(101, 69, 230);
/* oklch */ color: oklch(52.7% 0.229 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d7cef',
    500: '#6545e6',
    950: '#000000',
  },
}
SCSS
$custom: #6545e6;
$custom-light: #9d7cef;
$custom-dark: #000000;
JSON
{
  "hex": "#6545e6",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 251.925,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.22863,
    "h": 284.5
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#6545E6
secondary
#D7E3A4
accent
#F335CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6545E6

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

Preview Lab → · Contrast checker → · Palette generator →

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