#7B5BF0#7B5BF0

#7B5BF0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.213 H 287.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF0
RGBrgb(123, 91, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.7%, 62.1%, 0%, 5.9%)
CIE-LABlab(49.48, 49.01, -70.86)
CIE-LCHlch(49.48, 86.16, 304.67°)
OKLaboklab(58.53% 0.0652 -0.2029)
OKLCHoklch(58.53% 0.213 287.8)
XYZxyz(27.6331, 17.9832, 84.4363)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF0 #D0F05B
analogous
#5B85F0 #7B5BF0 #C65BF0
triadic
#7B5BF0 #F07B5B #5BF07B
tetradic
#7B5BF0 #F05B85 #D0F05B #5BF0C6
square
#7B5BF0 #F05B85 #D0F05B #5BF0C6
split-complementary
#7B5BF0 #F0C65B #85F05B
monochromatic
#3711BF #4E23EB #7B5BF0 #A893F5 #D5CBFA

Accessibility & contrast

On white

4.57
#7B5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF0#FFFFFF#000000##000000
##7B5BF01.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#527F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5bf0;
/* rgb */ color: rgb(123, 91, 240);
/* oklch */ color: oklch(58.5% 0.213 287.8);
Tailwind
colors: {
  custom: {
    50: '#aa8bf6',
    500: '#7b5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf0;
$custom-light: #aa8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf0",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 252.886,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.21317,
    "h": 287.8
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#7B5BF0
secondary
#E2EDBA
accent
#E006B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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