#7B4AE5#7B4AE5

#7B4AE5 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.221 H 292.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B4AE5
RGBrgb(123, 74, 229)
HSLhsl(259, 75%, 59%)
HSVhsv(259, 68%, 90%)
CMYKcmyk(46.3%, 67.7%, 0%, 10.2%)
CIE-LABlab(45.31, 55.05, -71.44)
CIE-LCHlch(45.31, 90.19, 307.62°)
OKLaboklab(55.26% 0.0831 -0.2046)
OKLCHoklch(55.26% 0.221 292.1)
XYZxyz(24.7561, 14.7648, 75.6591)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AE5 #B4E54A
analogous
#4A67E5 #7B4AE5 #C94AE5
triadic
#7B4AE5 #E57B4A #4AE57B
tetradic
#7B4AE5 #E54A67 #B4E54A #4AE5C9
square
#7B4AE5 #E54A67 #B4E54A #4AE5C9
split-complementary
#7B4AE5 #E5C94A #67E54A
monochromatic
#41179E #581ED3 #7B4AE5 #A280ED #C9B5F4

Accessibility & contrast

On white

5.31
#7B4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B4AE5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AE5#FFFFFF#000000##FFFFFF
##7B4AE51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#5A7192
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4ae5;
/* rgb */ color: rgb(123, 74, 229);
/* oklch */ color: oklch(55.3% 0.221 292.1);
Tailwind
colors: {
  custom: {
    50: '#a980ee',
    500: '#7b4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ae5;
$custom-light: #a980ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ae5",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 258.968,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.22085,
    "h": 292.1
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#7B4AE5
secondary
#D1E4A7
accent
#F136B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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