#7B4BE8#7B4BE8

#7B4BE8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.223 H 291.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B4BE8
RGBrgb(123, 75, 232)
HSLhsl(258, 77%, 60%)
HSVhsv(258, 68%, 91%)
CMYKcmyk(47%, 67.7%, 0%, 9%)
CIE-LABlab(45.73, 55.34, -72.46)
CIE-LCHlch(45.73, 91.17, 307.37°)
OKLaboklab(55.63% 0.0817 -0.2076)
OKLCHoklch(55.63% 0.223 291.5)
XYZxyz(25.2458, 15.0684, 77.9066)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BE8 #B8E84B
analogous
#4B69E8 #7B4BE8 #CA4BE8
triadic
#7B4BE8 #E87B4B #4BE87B
tetradic
#7B4BE8 #E84B69 #B8E84B #4BE8CA
square
#7B4BE8 #E84B69 #B8E84B #4BE8CA
split-complementary
#7B4BE8 #E8CA4B #69E84B
monochromatic
#4115A4 #561CDA #7B4BE8 #A381EF #CBB8F6

Accessibility & contrast

On white

5.23
#7B4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7B4BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BE8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BE8#FFFFFF#000000##FFFFFF
##7B4BE81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#597294
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4be8;
/* rgb */ color: rgb(123, 75, 232);
/* oklch */ color: oklch(55.6% 0.223 291.5);
Tailwind
colors: {
  custom: {
    50: '#aa81f0',
    500: '#7b4be8',
    950: '#000000',
  },
}
SCSS
$custom: #7b4be8;
$custom-light: #aa81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4be8",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 258.344,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.22311,
    "h": 291.5
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#7B4BE8
secondary
#D3E6A9
accent
#DA0C9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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