#6525BC#6525BC

#6525BC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.214 H 295.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6525BC
RGBrgb(101, 37, 188)
HSLhsl(265, 67%, 44%)
HSVhsv(265, 80%, 74%)
CMYKcmyk(46.3%, 80.3%, 0%, 26.3%)
CIE-LABlab(33.39, 57.92, -67.33)
CIE-LCHlch(33.39, 88.81, 310.70°)
OKLaboklab(45.24% 0.0921 -0.1931)
OKLCHoklch(45.24% 0.214 295.5)
XYZxyz(15.1030, 7.7203, 48.2616)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525BC #7CBC25
analogous
#2531BC #6525BC #B125BC
triadic
#6525BC #BC6525 #25BC65
tetradic
#6525BC #BC2531 #7CBC25 #25BCB1
square
#6525BC #BC2531 #7CBC25 #25BCB1
split-complementary
#6525BC #BCB125 #31BC25
monochromatic
#2E1156 #4A1B89 #6525BC #8444DA #A577E4

Accessibility & contrast

On white

8.25
#6525BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6525BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525BC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525BC#FFFFFF#000000##FFFFFF
##6525BC1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#4C5071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6525bc;
/* rgb */ color: rgb(101, 37, 188);
/* oklch */ color: oklch(45.2% 0.214 295.5);
Tailwind
colors: {
  custom: {
    50: '#9a68d1',
    500: '#6525bc',
    950: '#000000',
  },
}
SCSS
$custom: #6525bc;
$custom-light: #9a68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6525bc",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 265.43,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.21393,
    "h": 295.5
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#6525BC
secondary
#A5CC71
accent
#EA3EA1
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6525BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6525BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva