#6547E1#6547E1

#6547E1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.221 H 284.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6547E1
RGBrgb(101, 71, 225)
HSLhsl(252, 72%, 58%)
HSVhsv(252, 68%, 88%)
CMYKcmyk(55.1%, 68.4%, 0%, 11.8%)
CIE-LABlab(42.32, 51.88, -74.14)
CIE-LCHlch(42.32, 90.49, 304.98°)
OKLaboklab(52.52% 0.0564 -0.2132)
OKLCHoklch(52.52% 0.221 284.8)
XYZxyz(21.2066, 12.7082, 72.5550)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547E1 #C3E147
analogous
#4776E1 #6547E1 #B247E1
triadic
#6547E1 #E16547 #47E165
tetradic
#6547E1 #E14776 #C3E147 #47E1B2
square
#6547E1 #E14776 #C3E147 #47E1B2
split-complementary
#6547E1 #E1B247 #76E147
monochromatic
#311895 #4221CA #6547E1 #917CEA #BDB0F2

Accessibility & contrast

On white

5.93
#6547E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6547E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547E1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547E1#FFFFFF#000000##FFFFFF
##6547E11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#2B6F8F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6547e1;
/* rgb */ color: rgb(101, 71, 225);
/* oklch */ color: oklch(52.5% 0.221 284.8);
Tailwind
colors: {
  custom: {
    50: '#9c7dec',
    500: '#6547e1',
    950: '#000000',
  },
}
SCSS
$custom: #6547e1;
$custom-light: #9c7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6547e1",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 251.688,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.22058,
    "h": 284.8
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#6547E1
secondary
#D5E1A3
accent
#EF39CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6547E1

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

Preview Lab → · Contrast checker → · Palette generator →

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