#6534B8#6534B8

#6534B8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.194 H 294.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6534B8
RGBrgb(101, 52, 184)
HSLhsl(262, 56%, 46%)
HSVhsv(262, 72%, 72%)
CMYKcmyk(45.1%, 71.7%, 0%, 27.8%)
CIE-LABlab(35.37, 50.25, -61.74)
CIE-LCHlch(35.37, 79.60, 309.14°)
OKLaboklab(46.51% 0.0809 -0.1768)
OKLCHoklch(46.51% 0.194 294.6)
XYZxyz(15.2442, 8.6830, 46.2109)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534B8 #87B834
analogous
#3445B8 #6534B8 #A734B8
triadic
#6534B8 #B86534 #34B865
tetradic
#6534B8 #B83445 #87B834 #34B8A7
square
#6534B8 #B83445 #87B834 #34B8A7
split-complementary
#6534B8 #B8A734 #45B834
monochromatic
#311959 #4B2788 #6534B8 #8559D0 #A889DE

Accessibility & contrast

On white

7.67
#6534B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6534B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6534B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6534B8#FFFFFF#000000##FFFFFF
##6534B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#4D5673
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6534b8;
/* rgb */ color: rgb(101, 52, 184);
/* oklch */ color: oklch(46.5% 0.194 294.6);
Tailwind
colors: {
  custom: {
    50: '#9870ce',
    500: '#6534b8',
    950: '#000000',
  },
}
SCSS
$custom: #6534b8;
$custom-light: #9870ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6534b8",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 262.273,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.1944,
    "h": 294.6
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#6534B8
secondary
#ADC880
accent
#DF49A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6534B8

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

Preview Lab → · Contrast checker → · Palette generator →

#6534B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva