#6526BD#6526BD

#6526BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.214 H 295.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6526BD
RGBrgb(101, 38, 189)
HSLhsl(265, 67%, 45%)
HSVhsv(265, 80%, 74%)
CMYKcmyk(46.6%, 79.9%, 0%, 25.9%)
CIE-LABlab(33.62, 57.78, -67.55)
CIE-LCHlch(33.62, 88.89, 310.54°)
OKLaboklab(45.42% 0.0911 -0.1937)
OKLCHoklch(45.42% 0.214 295.2)
XYZxyz(15.2428, 7.8266, 48.8418)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526BD #7EBD26
analogous
#2633BD #6526BD #B126BD
triadic
#6526BD #BD6526 #26BD65
tetradic
#6526BD #BD2633 #7EBD26 #26BDB1
square
#6526BD #BD2633 #7EBD26 #26BDB1
split-complementary
#6526BD #BDB126 #33BD26
monochromatic
#2F1257 #4A1C8A #6526BD #8446DA #A679E4

Accessibility & contrast

On white

8.19
#6526BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6526BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526BD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526BD#FFFFFF#000000##FFFFFF
##6526BD1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#4B5172
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6526bd;
/* rgb */ color: rgb(101, 38, 189);
/* oklch */ color: oklch(45.4% 0.214 295.2);
Tailwind
colors: {
  custom: {
    50: '#9a69d2',
    500: '#6526bd',
    950: '#000000',
  },
}
SCSS
$custom: #6526bd;
$custom-light: #9a69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6526bd",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 265.033,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.21408,
    "h": 295.2
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#6526BD
secondary
#A7CC73
accent
#E93EA2
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6526BD

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

Preview Lab → · Contrast checker → · Palette generator →

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