#6547CB#6547CB

#6547CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.194 H 287.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6547CB
RGBrgb(101, 71, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(50.2%, 65%, 0%, 20.4%)
CIE-LABlab(40.55, 45.49, -64.40)
CIE-LCHlch(40.55, 78.85, 305.23°)
OKLaboklab(50.7% 0.0595 -0.1847)
OKLCHoklch(50.7% 0.194 287.9)
XYZxyz(18.3964, 11.5841, 57.7550)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547CB #ADCB47
analogous
#476BCB #6547CB #A747CB
triadic
#6547CB #CB6547 #47CB65
tetradic
#6547CB #CB476B #ADCB47 #47CBA7
square
#6547CB #CB476B #ADCB47 #47CBA7
split-complementary
#6547CB #CBA747 #6BCB47
monochromatic
#352176 #4A2FA6 #6547CB #8D77D8 #B5A6E6

Accessibility & contrast

On white

6.33
#6547CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6547CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547CB#FFFFFF#000000##FFFFFF
##6547CB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#406783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6547cb;
/* rgb */ color: rgb(101, 71, 203);
/* oklch */ color: oklch(50.7% 0.194 287.9);
Tailwind
colors: {
  custom: {
    50: '#997cdc',
    500: '#6547cb',
    950: '#000000',
  },
}
SCSS
$custom: #6547cb;
$custom-light: #997cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6547cb",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 253.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.19401,
    "h": 287.9
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#6547CB
secondary
#C6D39B
accent
#DF49BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6547CB

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

Preview Lab → · Contrast checker → · Palette generator →

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