#6547D2#6547D2

#6547D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.203 H 286.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6547D2
RGBrgb(101, 71, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 66%, 82%)
CMYKcmyk(51.9%, 66.2%, 0%, 17.6%)
CIE-LABlab(41.10, 47.52, -67.55)
CIE-LCHlch(41.10, 82.59, 305.13°)
OKLaboklab(51.27% 0.0586 -0.1939)
OKLCHoklch(51.27% 0.203 286.8)
XYZxyz(19.2495, 11.9254, 62.2478)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547D2 #B4D247
analogous
#476ED2 #6547D2 #AB47D2
triadic
#6547D2 #D26547 #47D265
tetradic
#6547D2 #D2476E #B4D247 #47D2AB
square
#6547D2 #D2476E #B4D247 #47D2AB
split-complementary
#6547D2 #D2AB47 #6ED247
monochromatic
#341F7F #482BB1 #6547D2 #8E78DE #B7A9EA

Accessibility & contrast

On white

6.20
#6547D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6547D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547D2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547D2#FFFFFF#000000##FFFFFF
##6547D21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#3B6A86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6547d2;
/* rgb */ color: rgb(101, 71, 210);
/* oklch */ color: oklch(51.3% 0.203 286.8);
Tailwind
colors: {
  custom: {
    50: '#9a7ce1',
    500: '#6547d2',
    950: '#000000',
  },
}
SCSS
$custom: #6547d2;
$custom-light: #9a7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6547d2",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 252.95,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.20258,
    "h": 286.8
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#6547D2
secondary
#CBD89D
accent
#E444C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6547D2

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

Preview Lab → · Contrast checker → · Palette generator →

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