#7531EA#7531EA

#7531EA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.3% C 0.251 H 291.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7531EA
RGBrgb(117, 49, 234)
HSLhsl(262, 81%, 55%)
HSVhsv(262, 79%, 92%)
CMYKcmyk(50%, 79.1%, 0%, 8.2%)
CIE-LABlab(41.09, 66.78, -81.22)
CIE-LCHlch(41.09, 105.15, 309.43°)
OKLaboklab(52.27% 0.0934 -0.2333)
OKLCHoklch(52.27% 0.251 291.8)
XYZxyz(23.2815, 11.9181, 78.8997)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531EA #A6EA31
analogous
#3149EA #7531EA #D131EA
triadic
#7531EA #EA7531 #31EA75
tetradic
#7531EA #EA3149 #A6EA31 #31EAD1
square
#7531EA #EA3149 #A6EA31 #31EAD1
split-complementary
#7531EA #EAD131 #49EA31
monochromatic
#3F0F92 #5715C9 #7531EA #9A69F0 #BFA0F5

Accessibility & contrast

On white

6.21
#7531EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7531EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7531EA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531EA#FFFFFF#000000##FFFFFF
##7531EA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064EF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#4D678E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7531ea;
/* rgb */ color: rgb(117, 49, 234);
/* oklch */ color: oklch(52.3% 0.251 291.8);
Tailwind
colors: {
  custom: {
    50: '#a872f2',
    500: '#7531ea',
    950: '#000000',
  },
}
SCSS
$custom: #7531ea;
$custom-light: #a872f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7531ea",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 234
  },
  "hsl": {
    "h": 262.054,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.25133,
    "h": 291.8
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#7531EA
secondary
#C6E295
accent
#F830AE
background
#FBF7FF
surface
#F6EDFE
border
#D0C8D6
text
#110817
muted
#807B85

Preview Lab

Preview with #7531EA

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

Preview Lab → · Contrast checker → · Palette generator →

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