#7B5BF5#7B5BF5

#7B5BF5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.219 H 287.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF5
RGBrgb(123, 91, 245)
HSLhsl(252, 89%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(49.8%, 62.9%, 0%, 3.9%)
CIE-LABlab(49.84, 50.42, -73.06)
CIE-LCHlch(49.84, 88.77, 304.61°)
OKLaboklab(58.9% 0.0648 -0.2094)
OKLCHoklch(58.9% 0.219 287.2)
XYZxyz(28.3861, 18.2844, 88.4020)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF5 #D5F55B
analogous
#5B88F5 #7B5BF5 #C85BF5
triadic
#7B5BF5 #F57B5B #5BF57B
tetradic
#7B5BF5 #F55B88 #D5F55B #5BF5C8
square
#7B5BF5 #F55B88 #D5F55B #5BF5C8
split-complementary
#7B5BF5 #F5C85B #88F55B
monochromatic
#340CC9 #4D21F1 #7B5BF5 #A995F9 #D8CEFC

Accessibility & contrast

On white

4.51
#7B5BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7B5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF5#FFFFFF#000000##000000
##7B5BF51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4F80A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5bf5;
/* rgb */ color: rgb(123, 91, 245);
/* oklch */ color: oklch(58.9% 0.219 287.2);
Tailwind
colors: {
  custom: {
    50: '#aa8bf9',
    500: '#7b5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf5;
$custom-light: #aa8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf5",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 252.468,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.21923,
    "h": 287.2
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#7B5BF5
secondary
#E5EFBC
accent
#E500B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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