#6546CA#6546CA

#6546CA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.194 H 288.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6546CA
RGBrgb(101, 70, 202)
HSLhsl(254, 55%, 53%)
HSVhsv(254, 65%, 79%)
CMYKcmyk(50%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.26, 45.75, -64.28)
CIE-LCHlch(40.26, 78.90, 305.44°)
OKLaboklab(50.47% 0.0606 -0.1843)
OKLCHoklch(50.47% 0.194 288.2)
XYZxyz(18.2146, 11.4105, 57.1084)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546CA #ABCA46
analogous
#4669CA #6546CA #A746CA
triadic
#6546CA #CA6546 #46CA65
tetradic
#6546CA #CA4669 #ABCA46 #46CAA7
square
#6546CA #CA4669 #ABCA46 #46CAA7
split-complementary
#6546CA #CAA746 #69CA46
monochromatic
#352174 #4A2FA4 #6546CA #8D76D8 #B4A5E5

Accessibility & contrast

On white

6.40
#6546CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6546CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546CA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546CA#FFFFFF#000000##FFFFFF
##6546CA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#416682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6546ca;
/* rgb */ color: rgb(101, 70, 202);
/* oklch */ color: oklch(50.5% 0.194 288.2);
Tailwind
colors: {
  custom: {
    50: '#997bdb',
    500: '#6546ca',
    950: '#000000',
  },
}
SCSS
$custom: #6546ca;
$custom-light: #997bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6546ca",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 254.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.19403,
    "h": 288.2
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#6546CA
secondary
#C5D29A
accent
#DF49BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546CA

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

Preview Lab → · Contrast checker → · Palette generator →

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