#6546CB#6546CB

#6546CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.195 H 288.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6546CB
RGBrgb(101, 70, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(50.2%, 65.5%, 0%, 20.4%)
CIE-LABlab(40.34, 46.04, -64.74)
CIE-LCHlch(40.34, 79.44, 305.42°)
OKLaboklab(50.55% 0.0605 -0.1856)
OKLCHoklch(50.55% 0.195 288)
XYZxyz(18.3333, 11.4580, 57.7339)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546CB #ACCB46
analogous
#4669CB #6546CB #A746CB
triadic
#6546CB #CB6546 #46CB65
tetradic
#6546CB #CB4669 #ACCB46 #46CBA7
square
#6546CB #CB4669 #ACCB46 #46CBA7
split-complementary
#6546CB #CBA746 #69CB46
monochromatic
#352176 #4A2EA5 #6546CB #8D76D8 #B5A6E6

Accessibility & contrast

On white

6.38
#6546CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6546CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546CB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546CB#FFFFFF#000000##FFFFFF
##6546CB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#406782
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6546cb;
/* rgb */ color: rgb(101, 70, 203);
/* oklch */ color: oklch(50.5% 0.195 288.0);
Tailwind
colors: {
  custom: {
    50: '#997bdc',
    500: '#6546cb',
    950: '#000000',
  },
}
SCSS
$custom: #6546cb;
$custom-light: #997bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6546cb",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 253.985,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.19525,
    "h": 288
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#6546CB
secondary
#C6D39A
accent
#DF48BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546CB

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

Preview Lab → · Contrast checker → · Palette generator →

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