#7B4BE1#7B4BE1

#7B4BE1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.215 H 292.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7B4BE1
RGBrgb(123, 75, 225)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(45.3%, 66.7%, 0%, 11.8%)
CIE-LABlab(45.19, 53.46, -69.36)
CIE-LCHlch(45.19, 87.58, 307.62°)
OKLaboklab(55.08% 0.0827 -0.1985)
OKLCHoklch(55.08% 0.215 292.6)
XYZxyz(24.2713, 14.6786, 72.7740)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BE1 #B1E14B
analogous
#4B66E1 #7B4BE1 #C64BE1
triadic
#7B4BE1 #E17B4B #4BE17B
tetradic
#7B4BE1 #E14B66 #B1E14B #4BE1C6
square
#7B4BE1 #E14B66 #B1E14B #4BE1C6
split-complementary
#7B4BE1 #E1C64B #66E14B
monochromatic
#421998 #5922CD #7B4BE1 #A17FEA #C8B4F2

Accessibility & contrast

On white

5.34
#7B4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7B4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BE1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BE1#FFFFFF#000000##FFFFFF
##7B4BE11.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#5D7090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4be1;
/* rgb */ color: rgb(123, 75, 225);
/* oklch */ color: oklch(55.1% 0.215 292.6);
Tailwind
colors: {
  custom: {
    50: '#a980eb',
    500: '#7b4be1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4be1;
$custom-light: #a980eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4be1",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 259.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.21508,
    "h": 292.6
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#7B4BE1
secondary
#CFE1A6
accent
#EE3AB4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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