#7531B9#7531B9

#7531B9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.201 H 302.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7531B9
RGBrgb(117, 49, 185)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(36.8%, 73.5%, 0%, 27.5%)
CIE-LABlab(36.89, 54.76, -59.75)
CIE-LCHlch(36.89, 81.05, 312.50°)
OKLaboklab(48.05% 0.1065 -0.1704)
OKLCHoklch(48.05% 0.201 302)
XYZxyz(17.1893, 9.4813, 46.8140)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531B9 #75B931
analogous
#3131B9 #7531B9 #B931B9
triadic
#7531B9 #B97531 #31B975
tetradic
#7531B9 #B93131 #75B931 #31B9B9
square
#7531B9 #B93131 #75B931 #31B9B9
split-complementary
#7531B9 #B9B931 #31B931
monochromatic
#381758 #562489 #7531B9 #9455D2 #B286DF

Accessibility & contrast

On white

7.25
#7531B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7531B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531B9
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531B9#FFFFFF#000000##FFFFFF
##7531B91.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#675372
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7531b9;
/* rgb */ color: rgb(117, 49, 185);
/* oklch */ color: oklch(48.1% 0.201 302.0);
Tailwind
colors: {
  custom: {
    50: '#a370cf',
    500: '#7531b9',
    950: '#000000',
  },
}
SCSS
$custom: #7531b9;
$custom-light: #a370cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7531b9",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 270,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.20092,
    "h": 302
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#7531B9
secondary
#A3C87D
accent
#E14694
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7531B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7531B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva