#6547CF#6547CF

#6547CF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.199 H 287.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6547CF
RGBrgb(101, 71, 207)
HSLhsl(253, 59%, 55%)
HSVhsv(253, 66%, 81%)
CMYKcmyk(51.2%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.86, 46.65, -66.20)
CIE-LCHlch(40.86, 80.99, 305.17°)
OKLaboklab(51.02% 0.059 -0.19)
OKLCHoklch(51.02% 0.199 287.3)
XYZxyz(18.8792, 11.7773, 60.2978)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547CF #B1CF47
analogous
#476DCF #6547CF #A947CF
triadic
#6547CF #CF6547 #47CF65
tetradic
#6547CF #CF476D #B1CF47 #47CFA9
square
#6547CF #CF476D #B1CF47 #47CFA9
split-complementary
#6547CF #CFA947 #6DCF47
monochromatic
#34207B #492DAC #6547CF #8E78DC #B6A8E8

Accessibility & contrast

On white

6.26
#6547CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6547CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547CF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547CF#FFFFFF#000000##FFFFFF
##6547CF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#3D6985
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6547cf;
/* rgb */ color: rgb(101, 71, 207);
/* oklch */ color: oklch(51.0% 0.199 287.3);
Tailwind
colors: {
  custom: {
    50: '#9a7cdf',
    500: '#6547cf',
    950: '#000000',
  },
}
SCSS
$custom: #6547cf;
$custom-light: #9a7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6547cf",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 253.235,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.19892,
    "h": 287.3
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#6547CF
secondary
#C9D69C
accent
#E246BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6547CF

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

Preview Lab → · Contrast checker → · Palette generator →

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