#7B4BE2#7B4BE2

#7B4BE2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.216 H 292.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7B4BE2
RGBrgb(123, 75, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(45.6%, 66.8%, 0%, 11.4%)
CIE-LABlab(45.27, 53.73, -69.81)
CIE-LCHlch(45.27, 88.09, 307.58°)
OKLaboklab(55.16% 0.0826 -0.1998)
OKLCHoklch(55.16% 0.216 292.4)
XYZxyz(24.4081, 14.7333, 73.4945)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BE2 #B2E24B
analogous
#4B67E2 #7B4BE2 #C74BE2
triadic
#7B4BE2 #E27B4B #4BE27B
tetradic
#7B4BE2 #E24B67 #B2E24B #4BE2C7
square
#7B4BE2 #E24B67 #B2E24B #4BE2C7
split-complementary
#7B4BE2 #E2C74B #67E24B
monochromatic
#42199A #5821CF #7B4BE2 #A280EA #C8B4F3

Accessibility & contrast

On white

5.32
#7B4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7B4BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BE2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BE2#FFFFFF#000000##FFFFFF
##7B4BE21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#5C7090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4be2;
/* rgb */ color: rgb(123, 75, 226);
/* oklch */ color: oklch(55.2% 0.216 292.4);
Tailwind
colors: {
  custom: {
    50: '#a980ec',
    500: '#7b4be2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4be2;
$custom-light: #a980ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4be2",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 259.073,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.21623,
    "h": 292.4
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#7B4BE2
secondary
#CFE2A7
accent
#EF39B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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