#7A5BF9#7A5BF9

#7A5BF9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.224 H 286.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A5BF9
RGBrgb(122, 91, 249)
HSLhsl(252, 93%, 67%)
HSVhsv(252, 63%, 98%)
CMYKcmyk(51%, 63.5%, 0%, 2.4%)
CIE-LABlab(50.05, 51.38, -74.96)
CIE-LCHlch(50.05, 90.88, 304.43°)
OKLaboklab(59.13% 0.0631 -0.215)
OKLCHoklch(59.13% 0.224 286.4)
XYZxyz(28.8609, 18.4578, 91.6461)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BF9 #DAF95B
analogous
#5B8BF9 #7A5BF9 #C95BF9
triadic
#7A5BF9 #F97A5B #5BF97A
tetradic
#7A5BF9 #F95B8B #DAF95B #5BF9C9
square
#7A5BF9 #F95B8B #DAF95B #5BF9C9
split-complementary
#7A5BF9 #F9C95B #8BF95B
monochromatic
#2F08D2 #4A20F7 #7A5BF9 #AA96FB #DAD1FD

Accessibility & contrast

On white

4.48
#7A5BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7A5BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5BF9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BF9#FFFFFF#000000##000000
##7A5BF91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0072F6
Tritanopia (blue-blind)
#4982A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5bf9;
/* rgb */ color: rgb(122, 91, 249);
/* oklch */ color: oklch(59.1% 0.224 286.4);
Tailwind
colors: {
  custom: {
    50: '#aa8bfc',
    500: '#7a5bf9',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bf9;
$custom-light: #aa8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bf9",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 249
  },
  "hsl": {
    "h": 251.772,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.22411,
    "h": 286.4
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#7A5BF9
secondary
#E7F1BE
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5BF9

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

Preview Lab → · Contrast checker → · Palette generator →

#7A5BF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva