#7B5BF6#7B5BF6

#7B5BF6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.220 H 287.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF6
RGBrgb(123, 91, 246)
HSLhsl(252, 90%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50%, 63%, 0%, 3.5%)
CIE-LABlab(49.91, 50.71, -73.50)
CIE-LCHlch(49.91, 89.30, 304.60°)
OKLaboklab(58.98% 0.0647 -0.2107)
OKLCHoklch(58.98% 0.22 287.1)
XYZxyz(28.5391, 18.3456, 89.2082)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF6 #D6F65B
analogous
#5B88F6 #7B5BF6 #C85BF6
triadic
#7B5BF6 #F67B5B #5BF67B
tetradic
#7B5BF6 #F65B88 #D6F65B #5BF6C8
square
#7B5BF6 #F65B88 #D6F65B #5BF6C8
split-complementary
#7B5BF6 #F6C85B #88F65B
monochromatic
#330BCB #4C21F3 #7B5BF6 #AA95F9 #D8CFFC

Accessibility & contrast

On white

4.50
#7B5BF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7B5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF6#FFFFFF#000000##000000
##7B5BF61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#4E81A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5bf6;
/* rgb */ color: rgb(123, 91, 246);
/* oklch */ color: oklch(59.0% 0.220 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa8bfa',
    500: '#7b5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf6;
$custom-light: #aa8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf6",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 252.387,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.22044,
    "h": 287.1
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#7B5BF6
secondary
#E5F0BD
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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