#7531C5#7531C5

#7531C5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.213 H 299.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7531C5
RGBrgb(117, 49, 197)
HSLhsl(268, 60%, 48%)
HSVhsv(268, 75%, 77%)
CMYKcmyk(40.6%, 75.1%, 0%, 22.7%)
CIE-LABlab(37.86, 57.66, -65.22)
CIE-LCHlch(37.86, 87.06, 311.48°)
OKLaboklab(49.03% 0.1038 -0.1864)
OKLCHoklch(49.03% 0.213 299.1)
XYZxyz(18.5099, 10.0095, 53.7693)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531C5 #81C531
analogous
#3137C5 #7531C5 #BF31C5
triadic
#7531C5 #C57531 #31C575
tetradic
#7531C5 #C53137 #81C531 #31C5BF
square
#7531C5 #C53137 #81C531 #31C5BF
split-complementary
#7531C5 #C5BF31 #37C531
monochromatic
#3B1963 #582594 #7531C5 #955DD7 #B58EE3

Accessibility & contrast

On white

7.00
#7531C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7531C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7531C5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531C5#FFFFFF#000000##FFFFFF
##7531C51.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#625879
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7531c5;
/* rgb */ color: rgb(117, 49, 197);
/* oklch */ color: oklch(49.0% 0.213 299.1);
Tailwind
colors: {
  custom: {
    50: '#a470d8',
    500: '#7531c5',
    950: '#000000',
  },
}
SCSS
$custom: #7531c5;
$custom-light: #a470d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7531c5",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 267.568,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.21339,
    "h": 299.1
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#7531C5
secondary
#ACCD85
accent
#E3449A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7531C5

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

Preview Lab → · Contrast checker → · Palette generator →

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