#7531CA#7531CA

#7531CA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.219 H 298.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7531CA
RGBrgb(117, 49, 202)
HSLhsl(267, 61%, 49%)
HSVhsv(267, 76%, 79%)
CMYKcmyk(42.1%, 75.7%, 0%, 20.8%)
CIE-LABlab(38.27, 58.89, -67.46)
CIE-LCHlch(38.27, 89.54, 311.12°)
OKLaboklab(49.45% 0.1025 -0.193)
OKLCHoklch(49.45% 0.219 298)
XYZxyz(19.0923, 10.2425, 56.8368)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531CA #86CA31
analogous
#3139CA #7531CA #C231CA
triadic
#7531CA #CA7531 #31CA75
tetradic
#7531CA #CA3139 #86CA31 #31CAC2
square
#7531CA #CA3139 #86CA31 #31CAC2
split-complementary
#7531CA #CAC231 #39CA31
monochromatic
#3C1967 #582599 #7531CA #9560D8 #B691E4

Accessibility & contrast

On white

6.89
#7531CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7531CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7531CA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531CA#FFFFFF#000000##FFFFFF
##7531CA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#5F5A7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7531ca;
/* rgb */ color: rgb(117, 49, 202);
/* oklch */ color: oklch(49.5% 0.219 298.0);
Tailwind
colors: {
  custom: {
    50: '#a470db',
    500: '#7531ca',
    950: '#000000',
  },
}
SCSS
$custom: #7531ca;
$custom-light: #a470db;
$custom-dark: #000000;
JSON
{
  "hex": "#7531ca",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 266.667,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.21857,
    "h": 298
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#7531CA
secondary
#AFCF88
accent
#E4449D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7531CA

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

Preview Lab → · Contrast checker → · Palette generator →

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