#6546CF#6546CF

#6546CF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 50.9% C 0.200 H 287.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6546CF
RGBrgb(101, 70, 207)
HSLhsl(254, 59%, 54%)
HSVhsv(254, 66%, 81%)
CMYKcmyk(51.2%, 66.2%, 0%, 18.8%)
CIE-LABlab(40.66, 47.20, -66.54)
CIE-LCHlch(40.66, 81.58, 305.35°)
OKLaboklab(50.87% 0.06 -0.1909)
OKLCHoklch(50.87% 0.2 287.4)
XYZxyz(18.8162, 11.6511, 60.2768)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546CF #B0CF46
analogous
#466CCF #6546CF #AA46CF
triadic
#6546CF #CF6546 #46CF65
tetradic
#6546CF #CF466C #B0CF46 #46CFAA
square
#6546CF #CF466C #B0CF46 #46CFAA
split-complementary
#6546CF #CFAA46 #6CCF46
monochromatic
#34207B #492CAB #6546CF #8D77DC #B6A7E8

Accessibility & contrast

On white

6.31
#6546CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6546CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546CF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546CF#FFFFFF#000000##FFFFFF
##6546CF1.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)
#0063D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#3D6884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6546cf;
/* rgb */ color: rgb(101, 70, 207);
/* oklch */ color: oklch(50.9% 0.200 287.4);
Tailwind
colors: {
  custom: {
    50: '#9a7bdf',
    500: '#6546cf',
    950: '#000000',
  },
}
SCSS
$custom: #6546cf;
$custom-light: #9a7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6546cf",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 253.577,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.20014,
    "h": 287.4
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#6546CF
secondary
#C8D59B
accent
#E246BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546CF

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

Preview Lab → · Contrast checker → · Palette generator →

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