#7531C4#7531C4

#7531C4 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.212 H 299.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7531C4
RGBrgb(117, 49, 196)
HSLhsl(268, 60%, 48%)
HSVhsv(268, 75%, 77%)
CMYKcmyk(40.3%, 75%, 0%, 23.1%)
CIE-LABlab(37.78, 57.42, -64.77)
CIE-LCHlch(37.78, 86.56, 311.56°)
OKLaboklab(48.95% 0.104 -0.1851)
OKLCHoklch(48.95% 0.212 299.3)
XYZxyz(18.3957, 9.9638, 53.1679)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531C4 #80C431
analogous
#3137C4 #7531C4 #BE31C4
triadic
#7531C4 #C47531 #31C475
tetradic
#7531C4 #C43137 #80C431 #31C4BE
square
#7531C4 #C43137 #80C431 #31C4BE
split-complementary
#7531C4 #C4BE31 #37C431
monochromatic
#3B1962 #582593 #7531C4 #955CD6 #B48DE2

Accessibility & contrast

On white

7.02
#7531C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7531C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531C4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531C4#FFFFFF#000000##FFFFFF
##7531C41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#625779
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7531c4;
/* rgb */ color: rgb(117, 49, 196);
/* oklch */ color: oklch(48.9% 0.212 299.3);
Tailwind
colors: {
  custom: {
    50: '#a470d7',
    500: '#7531c4',
    950: '#000000',
  },
}
SCSS
$custom: #7531c4;
$custom-light: #a470d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7531c4",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 267.755,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.21235,
    "h": 299.3
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#7531C4
secondary
#ABCD84
accent
#E3459A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7531C4

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

Preview Lab → · Contrast checker → · Palette generator →

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