#6534C2#6534C2

#6534C2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.206 H 292.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6534C2
RGBrgb(101, 52, 194)
HSLhsl(261, 58%, 48%)
HSVhsv(261, 73%, 76%)
CMYKcmyk(47.9%, 73.2%, 0%, 23.9%)
CIE-LABlab(36.21, 52.92, -66.24)
CIE-LCHlch(36.21, 84.79, 308.62°)
OKLaboklab(47.37% 0.0787 -0.19)
OKLCHoklch(47.37% 0.206 292.5)
XYZxyz(16.3297, 9.1172, 51.9279)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534C2 #91C234
analogous
#344AC2 #6534C2 #AC34C2
triadic
#6534C2 #C26534 #34C265
tetradic
#6534C2 #C2344A #91C234 #34C2AC
square
#6534C2 #C2344A #91C234 #34C2AC
split-complementary
#6534C2 #C2AC34 #4AC234
monochromatic
#331A61 #4C2792 #6534C2 #875FD4 #AC8FE1

Accessibility & contrast

On white

7.44
#6534C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6534C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6534C2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6534C2#FFFFFF#000000##FFFFFF
##6534C21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#485A78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6534c2;
/* rgb */ color: rgb(101, 52, 194);
/* oklch */ color: oklch(47.4% 0.206 292.5);
Tailwind
colors: {
  custom: {
    50: '#9970d6',
    500: '#6534c2',
    950: '#000000',
  },
}
SCSS
$custom: #6534c2;
$custom-light: #9970d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6534c2",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 260.704,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.20566,
    "h": 292.5
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#6534C2
secondary
#B4CC86
accent
#E147AC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6534C2

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

Preview Lab → · Contrast checker → · Palette generator →

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