#7B5BF7#7B5BF7

#7B5BF7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.222 H 287.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF7
RGBrgb(123, 91, 247)
HSLhsl(252, 91%, 66%)
HSVhsv(252, 63%, 97%)
CMYKcmyk(50.2%, 63.2%, 0%, 3.1%)
CIE-LABlab(49.99, 50.99, -73.94)
CIE-LCHlch(49.99, 89.82, 304.59°)
OKLaboklab(59.06% 0.0646 -0.212)
OKLCHoklch(59.06% 0.222 287)
XYZxyz(28.6930, 18.4071, 90.0187)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF7 #D7F75B
analogous
#5B89F7 #7B5BF7 #C95BF7
triadic
#7B5BF7 #F77B5B #5BF77B
tetradic
#7B5BF7 #F75B89 #D7F75B #5BF7C9
square
#7B5BF7 #F75B89 #D7F75B #5BF7C9
split-complementary
#7B5BF7 #F7C95B #89F75B
monochromatic
#320ACE #4C21F4 #7B5BF7 #AA95FA #D9D0FD

Accessibility & contrast

On white

4.49
#7B5BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7B5BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF7#FFFFFF#000000##000000
##7B5BF71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#4D81A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5bf7;
/* rgb */ color: rgb(123, 91, 247);
/* oklch */ color: oklch(59.1% 0.222 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bfb',
    500: '#7b5bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf7;
$custom-light: #ab8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf7",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 247
  },
  "hsl": {
    "h": 252.308,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.22163,
    "h": 287
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#7B5BF7
secondary
#E6F0BD
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B5BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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