#6526C7#6526C7

#6526C7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.224 H 293.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6526C7
RGBrgb(101, 38, 199)
HSLhsl(263, 68%, 46%)
HSVhsv(263, 81%, 78%)
CMYKcmyk(49.2%, 80.9%, 0%, 22%)
CIE-LABlab(34.55, 60.27, -71.89)
CIE-LCHlch(34.55, 93.81, 309.98°)
OKLaboklab(46.35% 0.0878 -0.2064)
OKLCHoklch(46.35% 0.224 293)
XYZxyz(16.3659, 8.2759, 54.7569)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526C7 #88C726
analogous
#2638C7 #6526C7 #B626C7
triadic
#6526C7 #C76526 #26C765
tetradic
#6526C7 #C72638 #88C726 #26C7B6
square
#6526C7 #C72638 #88C726 #26C7B6
split-complementary
#6526C7 #C7B626 #38C726
monochromatic
#311260 #4B1C94 #6526C7 #854DDD #A981E7

Accessibility & contrast

On white

7.91
#6526C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6526C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526C7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526C7#FFFFFF#000000##FFFFFF
##6526C71.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#004EC4
Tritanopia (blue-blind)
#455678
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6526c7;
/* rgb */ color: rgb(101, 38, 199);
/* oklch */ color: oklch(46.3% 0.224 293.0);
Tailwind
colors: {
  custom: {
    50: '#9b69d9',
    500: '#6526c7',
    950: '#000000',
  },
}
SCSS
$custom: #6526c7;
$custom-light: #9b69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6526c7",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 263.478,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46349,
    "c": 0.22435,
    "h": 293
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#6526C7
secondary
#AECF79
accent
#EB3DA7
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6526C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6526C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva