#7B5BF9#7B5BF9

#7B5BF9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.224 H 286.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF9
RGBrgb(123, 91, 249)
HSLhsl(252, 93%, 67%)
HSVhsv(252, 63%, 98%)
CMYKcmyk(50.6%, 63.5%, 0%, 2.4%)
CIE-LABlab(50.13, 51.56, -74.81)
CIE-LCHlch(50.13, 90.86, 304.57°)
OKLaboklab(59.21% 0.0644 -0.2146)
OKLCHoklch(59.21% 0.224 286.7)
XYZxyz(29.0033, 18.5313, 91.6528)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF9 #D9F95B
analogous
#5B8AF9 #7B5BF9 #CA5BF9
triadic
#7B5BF9 #F97B5B #5BF97B
tetradic
#7B5BF9 #F95B8A #D9F95B #5BF9CA
square
#7B5BF9 #F95B8A #D9F95B #5BF9CA
split-complementary
#7B5BF9 #F9CA5B #8AF95B
monochromatic
#3108D2 #4B20F7 #7B5BF9 #AB96FB #DAD1FD

Accessibility & contrast

On white

4.46
#7B5BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7B5BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF9#FFFFFF#000000##000000
##7B5BF91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4B82A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5bf9;
/* rgb */ color: rgb(123, 91, 249);
/* oklch */ color: oklch(59.2% 0.224 286.7);
Tailwind
colors: {
  custom: {
    50: '#ab8bfc',
    500: '#7b5bf9',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf9;
$custom-light: #ab8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf9",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 249
  },
  "hsl": {
    "h": 252.152,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.22403,
    "h": 286.7
  },
  "luminance": 0.18533
}

Semantic roles & 50–950 ramp

primary
#7B5BF9
secondary
#E7F1BE
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B5BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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