#7B5BF4#7B5BF4

#7B5BF4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.218 H 287.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF4
RGBrgb(123, 91, 244)
HSLhsl(253, 87%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(49.6%, 62.7%, 0%, 4.3%)
CIE-LABlab(49.77, 50.14, -72.62)
CIE-LCHlch(49.77, 88.25, 304.62°)
OKLaboklab(58.83% 0.0649 -0.2081)
OKLCHoklch(58.83% 0.218 287.3)
XYZxyz(28.2338, 18.2235, 87.6002)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF4 #D4F45B
analogous
#5B87F4 #7B5BF4 #C75BF4
triadic
#7B5BF4 #F47B5B #5BF47B
tetradic
#7B5BF4 #F45B87 #D4F45B #5BF4C7
square
#7B5BF4 #F45B87 #D4F45B #5BF4C7
split-complementary
#7B5BF4 #F4C75B #87F45B
monochromatic
#340DC7 #4D22F0 #7B5BF4 #A994F8 #D7CEFC

Accessibility & contrast

On white

4.52
#7B5BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF4#FFFFFF#000000##000000
##7B5BF41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#4F809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5bf4;
/* rgb */ color: rgb(123, 91, 244);
/* oklch */ color: oklch(58.8% 0.218 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa8bf9',
    500: '#7b5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf4;
$custom-light: #aa8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf4",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 252.549,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.21801,
    "h": 287.3
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#7B5BF4
secondary
#E4EFBC
accent
#E402B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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