#7B4BEB#7B4BEB

#7B4BEB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.227 H 291.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7B4BEB
RGBrgb(123, 75, 235)
HSLhsl(258, 80%, 61%)
HSVhsv(258, 68%, 92%)
CMYKcmyk(47.7%, 68.1%, 0%, 7.8%)
CIE-LABlab(45.96, 56.14, -73.77)
CIE-LCHlch(45.96, 92.70, 307.27°)
OKLaboklab(55.87% 0.0812 -0.2115)
OKLCHoklch(55.87% 0.227 291)
XYZxyz(25.6756, 15.2403, 80.1700)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BEB #BBEB4B
analogous
#4B6BEB #7B4BEB #CB4BEB
triadic
#7B4BEB #EB7B4B #4BEB7B
tetradic
#7B4BEB #EB4B6B #BBEB4B #4BEBCB
square
#7B4BEB #EB4B6B #BBEB4B #4BEBCB
split-complementary
#7B4BEB #EBCB4B #6BEB4B
monochromatic
#4013A9 #5519E0 #7B4BEB #A382F1 #CCB9F7

Accessibility & contrast

On white

5.19
#7B4BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7B4BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BEB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BEB#FFFFFF#000000##FFFFFF
##7B4BEB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#577395
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4beb;
/* rgb */ color: rgb(123, 75, 235);
/* oklch */ color: oklch(55.9% 0.227 291.0);
Tailwind
colors: {
  custom: {
    50: '#aa81f3',
    500: '#7b4beb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4beb;
$custom-light: #aa81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4beb",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 258,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.22653,
    "h": 291
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#7B4BEB
secondary
#D5E7AB
accent
#DC099D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B4BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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