#7531BB#7531BB

#7531BB is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.203 H 301.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7531BB
RGBrgb(117, 49, 187)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(37.4%, 73.8%, 0%, 26.7%)
CIE-LABlab(37.05, 55.24, -60.67)
CIE-LCHlch(37.05, 82.06, 312.32°)
OKLaboklab(48.21% 0.1061 -0.1731)
OKLCHoklch(48.21% 0.203 301.5)
XYZxyz(17.4019, 9.5663, 47.9338)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531BB #77BB31
analogous
#3132BB #7531BB #BA31BB
triadic
#7531BB #BB7531 #31BB75
tetradic
#7531BB #BB3132 #77BB31 #31BBBA
square
#7531BB #BB3132 #77BB31 #31BBBA
split-complementary
#7531BB #BBBA31 #32BB31
monochromatic
#38185A #57248B #7531BB #9456D3 #B387E0

Accessibility & contrast

On white

7.21
#7531BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7531BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531BB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531BB#FFFFFF#000000##FFFFFF
##7531BB1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#665474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7531bb;
/* rgb */ color: rgb(117, 49, 187);
/* oklch */ color: oklch(48.2% 0.203 301.5);
Tailwind
colors: {
  custom: {
    50: '#a370d0',
    500: '#7531bb',
    950: '#000000',
  },
}
SCSS
$custom: #7531bb;
$custom-light: #a370d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7531bb",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 269.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.203,
    "h": 301.5
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#7531BB
secondary
#A4C97F
accent
#E24695
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7531BB

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

Preview Lab → · Contrast checker → · Palette generator →

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