#6534C5#6534C5

#6534C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.209 H 291.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6534C5
RGBrgb(101, 52, 197)
HSLhsl(260, 58%, 49%)
HSVhsv(260, 74%, 77%)
CMYKcmyk(48.7%, 73.6%, 0%, 22.7%)
CIE-LABlab(36.47, 53.73, -67.57)
CIE-LCHlch(36.47, 86.33, 308.49°)
OKLaboklab(47.63% 0.078 -0.1939)
OKLCHoklch(47.63% 0.209 291.9)
XYZxyz(16.6700, 9.2533, 53.7202)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534C5 #94C534
analogous
#344CC5 #6534C5 #AE34C5
triadic
#6534C5 #C56534 #34C565
tetradic
#6534C5 #C5344C #94C534 #34C5AE
square
#6534C5 #C5344C #94C534 #34C5AE
split-complementary
#6534C5 #C5AE34 #4CC534
monochromatic
#331A64 #4C2795 #6534C5 #8861D5 #AD91E2

Accessibility & contrast

On white

7.37
#6534C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6534C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6534C5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6534C5#FFFFFF#000000##FFFFFF
##6534C51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#465B7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6534c5;
/* rgb */ color: rgb(101, 52, 197);
/* oklch */ color: oklch(47.6% 0.209 291.9);
Tailwind
colors: {
  custom: {
    50: '#9a70d8',
    500: '#6534c5',
    950: '#000000',
  },
}
SCSS
$custom: #6534c5;
$custom-light: #9a70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6534c5",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 260.276,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.20901,
    "h": 291.9
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#6534C5
secondary
#B6CD88
accent
#E146AD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6534C5

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

Preview Lab → · Contrast checker → · Palette generator →

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