#6546E7#6546E7

#6546E7 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.229 H 284.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6546E7
RGBrgb(101, 70, 231)
HSLhsl(252, 77%, 59%)
HSVhsv(252, 70%, 91%)
CMYKcmyk(56.3%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.64, 54.15, -77.03)
CIE-LCHlch(42.64, 94.16, 305.11°)
OKLaboklab(52.9% 0.0562 -0.2217)
OKLCHoklch(52.9% 0.229 284.2)
XYZxyz(21.9764, 12.9152, 76.9207)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546E7 #C8E746
analogous
#4678E7 #6546E7 #B646E7
triadic
#6546E7 #E76546 #46E765
tetradic
#6546E7 #E74678 #C8E746 #46E7B6
square
#6546E7 #E74678 #C8E746 #46E7B6
split-complementary
#6546E7 #E7B646 #78E746
monochromatic
#2F159E #3F1CD4 #6546E7 #927CEE #BFB2F5

Accessibility & contrast

On white

5.86
#6546E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6546E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546E7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546E7#FFFFFF#000000##FFFFFF
##6546E71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#227192
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6546e7;
/* rgb */ color: rgb(101, 70, 231);
/* oklch */ color: oklch(52.9% 0.229 284.2);
Tailwind
colors: {
  custom: {
    50: '#9d7cf0',
    500: '#6546e7',
    950: '#000000',
  },
}
SCSS
$custom: #6546e7;
$custom-light: #9d7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6546e7",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 251.553,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52904,
    "c": 0.22872,
    "h": 284.2
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#6546E7
secondary
#D8E4A5
accent
#F434CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6546E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6546E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva