#7531BD#7531BD

#7531BD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.205 H 301.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7531BD
RGBrgb(117, 49, 189)
HSLhsl(269, 59%, 47%)
HSVhsv(269, 74%, 74%)
CMYKcmyk(38.1%, 74.1%, 0%, 25.9%)
CIE-LABlab(37.21, 55.72, -61.59)
CIE-LCHlch(37.21, 83.06, 312.14°)
OKLaboklab(48.38% 0.1056 -0.1758)
OKLCHoklch(48.38% 0.205 301)
XYZxyz(17.6175, 9.6525, 49.0692)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531BD #79BD31
analogous
#3133BD #7531BD #BB31BD
triadic
#7531BD #BD7531 #31BD75
tetradic
#7531BD #BD3133 #79BD31 #31BDBB
square
#7531BD #BD3133 #79BD31 #31BDBB
split-complementary
#7531BD #BDBB31 #33BD31
monochromatic
#39185C #57248C #7531BD #9458D4 #B388E0

Accessibility & contrast

On white

7.17
#7531BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7531BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531BD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531BD#FFFFFF#000000##FFFFFF
##7531BD1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#655575
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7531bd;
/* rgb */ color: rgb(117, 49, 189);
/* oklch */ color: oklch(48.4% 0.205 301.0);
Tailwind
colors: {
  custom: {
    50: '#a370d2',
    500: '#7531bd',
    950: '#000000',
  },
}
SCSS
$custom: #7531bd;
$custom-light: #a370d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7531bd",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 269.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.20508,
    "h": 301
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#7531BD
secondary
#A6CA80
accent
#E24696
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7531BD

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

Preview Lab → · Contrast checker → · Palette generator →

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