#6547E4#6547E4

#6547E4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.224 H 284.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6547E4
RGBrgb(101, 71, 228)
HSLhsl(251, 74%, 59%)
HSVhsv(251, 69%, 89%)
CMYKcmyk(55.7%, 68.9%, 0%, 10.6%)
CIE-LABlab(42.57, 52.75, -75.43)
CIE-LCHlch(42.57, 92.05, 304.97°)
OKLaboklab(52.78% 0.0559 -0.217)
OKLCHoklch(52.78% 0.224 284.4)
XYZxyz(21.6194, 12.8733, 74.7293)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547E4 #C6E447
analogous
#4777E4 #6547E4 #B347E4
triadic
#6547E4 #E46547 #47E465
tetradic
#6547E4 #E44777 #C6E447 #47E4B3
square
#6547E4 #E44777 #C6E447 #47E4B3
split-complementary
#6547E4 #E4B347 #77E447
monochromatic
#30179A #401ECF #6547E4 #927CEC #BEB2F4

Accessibility & contrast

On white

5.87
#6547E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6547E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547E4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547E4#FFFFFF#000000##FFFFFF
##6547E41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#277090
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6547e4;
/* rgb */ color: rgb(101, 71, 228);
/* oklch */ color: oklch(52.8% 0.224 284.4);
Tailwind
colors: {
  custom: {
    50: '#9d7dee',
    500: '#6547e4',
    950: '#000000',
  },
}
SCSS
$custom: #6547e4;
$custom-light: #9d7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6547e4",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 251.465,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.22412,
    "h": 284.4
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#6547E4
secondary
#D7E2A4
accent
#F137CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6547E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6547E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva