#7526B0#7526B0

#7526B0 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.203 H 305.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7526B0
RGBrgb(117, 38, 176)
HSLhsl(274, 64%, 42%)
HSVhsv(274, 78%, 69%)
CMYKcmyk(33.5%, 78.4%, 0%, 31%)
CIE-LABlab(34.61, 57.16, -58.14)
CIE-LCHlch(34.61, 81.54, 314.51°)
OKLaboklab(46.22% 0.1183 -0.1656)
OKLCHoklch(46.22% 0.203 305.5)
XYZxyz(15.8639, 8.3028, 41.8327)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526B0 #61B026
analogous
#3026B0 #7526B0 #B026A6
triadic
#7526B0 #B07526 #26B075
tetradic
#7526B0 #B03026 #61B026 #26A6B0
square
#7526B0 #B03026 #61B026 #26A6B0
split-complementary
#7526B0 #A6B026 #26B030
monochromatic
#32104B #541B7E #7526B0 #953ED5 #B070E0

Accessibility & contrast

On white

7.89
#7526B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7526B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526B0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526B0#FFFFFF#000000##FFFFFF
##7526B01.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#6A4A6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7526b0;
/* rgb */ color: rgb(117, 38, 176);
/* oklch */ color: oklch(46.2% 0.203 305.5);
Tailwind
colors: {
  custom: {
    50: '#a26ac9',
    500: '#7526b0',
    950: '#000000',
  },
}
SCSS
$custom: #7526b0;
$custom-light: #a26ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7526b0",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 274.348,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.20349,
    "h": 305.5
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#7526B0
secondary
#92C76B
accent
#E74088
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526B0

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

Preview Lab → · Contrast checker → · Palette generator →

#7526B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva