#6547CC#6547CC

#6547CC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.195 H 287.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6547CC
RGBrgb(101, 71, 204)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(50.5%, 65.2%, 0%, 20%)
CIE-LABlab(40.63, 45.78, -64.85)
CIE-LCHlch(40.63, 79.38, 305.22°)
OKLaboklab(50.78% 0.0594 -0.186)
OKLCHoklch(50.78% 0.195 287.7)
XYZxyz(18.5160, 11.6319, 58.3846)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547CC #AECC47
analogous
#476CCC #6547CC #A847CC
triadic
#6547CC #CC6547 #47CC65
tetradic
#6547CC #CC476C #AECC47 #47CCA8
square
#6547CC #CC476C #AECC47 #47CCA8
split-complementary
#6547CC #CCA847 #6CCC47
monochromatic
#352177 #4A2EA7 #6547CC #8D77D9 #B5A7E7

Accessibility & contrast

On white

6.31
#6547CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6547CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547CC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547CC#FFFFFF#000000##FFFFFF
##6547CC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#406883
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6547cc;
/* rgb */ color: rgb(101, 71, 204);
/* oklch */ color: oklch(50.8% 0.195 287.7);
Tailwind
colors: {
  custom: {
    50: '#9a7cdc',
    500: '#6547cc',
    950: '#000000',
  },
}
SCSS
$custom: #6547cc;
$custom-light: #9a7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6547cc",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 253.534,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.19524,
    "h": 287.7
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#6547CC
secondary
#C7D49B
accent
#E048BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6547CC

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

Preview Lab → · Contrast checker → · Palette generator →

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