#7531BC#7531BC

#7531BC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.204 H 301.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7531BC
RGBrgb(117, 49, 188)
HSLhsl(269, 59%, 46%)
HSVhsv(269, 74%, 74%)
CMYKcmyk(37.8%, 73.9%, 0%, 26.3%)
CIE-LABlab(37.13, 55.48, -61.13)
CIE-LCHlch(37.13, 82.56, 312.23°)
OKLaboklab(48.29% 0.1058 -0.1744)
OKLCHoklch(48.29% 0.204 301.2)
XYZxyz(17.5093, 9.6093, 48.4995)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531BC #78BC31
analogous
#3132BC #7531BC #BB31BC
triadic
#7531BC #BC7531 #31BC75
tetradic
#7531BC #BC3132 #78BC31 #31BCBB
square
#7531BC #BC3132 #78BC31 #31BCBB
split-complementary
#7531BC #BCBB31 #32BC31
monochromatic
#39185B #57248B #7531BC #9457D3 #B388E0

Accessibility & contrast

On white

7.19
#7531BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7531BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531BC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531BC#FFFFFF#000000##FFFFFF
##7531BC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#655474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7531bc;
/* rgb */ color: rgb(117, 49, 188);
/* oklch */ color: oklch(48.3% 0.204 301.2);
Tailwind
colors: {
  custom: {
    50: '#a370d1',
    500: '#7531bc',
    950: '#000000',
  },
}
SCSS
$custom: #7531bc;
$custom-light: #a370d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7531bc",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 269.353,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.20404,
    "h": 301.2
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7531BC

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

Preview Lab → · Contrast checker → · Palette generator →

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