#7529B2#7529B2

#7529B2 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.202 H 304.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7529B2
RGBrgb(117, 41, 178)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 77%, 70%)
CMYKcmyk(34.3%, 77%, 0%, 30.2%)
CIE-LABlab(35.17, 56.46, -58.42)
CIE-LCHlch(35.17, 81.25, 314.02°)
OKLaboklab(46.66% 0.1153 -0.1664)
OKLCHoklch(46.66% 0.202 304.7)
XYZxyz(16.1631, 8.5822, 42.9159)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7529B2 #66B229
analogous
#3129B2 #7529B2 #B229AA
triadic
#7529B2 #B27529 #29B275
tetradic
#7529B2 #B23129 #66B229 #29AAB2
square
#7529B2 #B23129 #66B229 #29AAB2
split-complementary
#7529B2 #AAB229 #29B231
monochromatic
#34124F #541E80 #7529B2 #9444D4 #B076DF

Accessibility & contrast

On white

7.73
#7529B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7529B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7529B2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7529B2#FFFFFF#000000##FFFFFF
##7529B21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#694C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7529b2;
/* rgb */ color: rgb(117, 41, 178);
/* oklch */ color: oklch(46.7% 0.202 304.7);
Tailwind
colors: {
  custom: {
    50: '#a26bca',
    500: '#7529b2',
    950: '#000000',
  },
}
SCSS
$custom: #7529b2;
$custom-light: #a26bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7529b2",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 273.285,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.20243,
    "h": 304.7
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#7529B2
secondary
#97C770
accent
#E6428B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7529B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7529B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva