#6534B5#6534B5

#6534B5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.191 H 295.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6534B5
RGBrgb(101, 52, 181)
HSLhsl(263, 55%, 46%)
HSVhsv(263, 71%, 71%)
CMYKcmyk(44.2%, 71.3%, 0%, 29%)
CIE-LABlab(35.12, 49.45, -60.36)
CIE-LCHlch(35.12, 78.04, 309.33°)
OKLaboklab(46.26% 0.0815 -0.1727)
OKLCHoklch(46.26% 0.191 295.2)
XYZxyz(14.9331, 8.5585, 44.5723)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534B5 #84B534
analogous
#3443B5 #6534B5 #A534B5
triadic
#6534B5 #B56534 #34B565
tetradic
#6534B5 #B53443 #84B534 #34B5A5
square
#6534B5 #B53443 #84B534 #34B5A5
split-complementary
#6534B5 #B5A534 #43B534
monochromatic
#301956 #4A2685 #6534B5 #8557CF #A787DC

Accessibility & contrast

On white

7.74
#6534B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6534B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6534B5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6534B5#FFFFFF#000000##FFFFFF
##6534B51.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#4F5571
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6534b5;
/* rgb */ color: rgb(101, 52, 181);
/* oklch */ color: oklch(46.3% 0.191 295.2);
Tailwind
colors: {
  custom: {
    50: '#9870cc',
    500: '#6534b5',
    950: '#000000',
  },
}
SCSS
$custom: #6534b5;
$custom-light: #9870cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6534b5",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 262.791,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.19099,
    "h": 295.2
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#6534B5
secondary
#ABC67F
accent
#DF49A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6534B5

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

Preview Lab → · Contrast checker → · Palette generator →

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