#7B4AE3#7B4AE3

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

Color values

HEX#7B4AE3
RGBrgb(123, 74, 227)
HSLhsl(259, 73%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(45.8%, 67.4%, 0%, 11%)
CIE-LABlab(45.16, 54.51, -70.56)
CIE-LCHlch(45.16, 89.16, 307.69°)
OKLaboklab(55.1% 0.0834 -0.202)
OKLCHoklch(55.1% 0.219 292.4)
XYZxyz(24.4784, 14.6538, 74.1969)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AE3 #B2E34A
analogous
#4A66E3 #7B4AE3 #C84AE3
triadic
#7B4AE3 #E37B4A #4AE37B
tetradic
#7B4AE3 #E34A66 #B2E34A #4AE3C8
square
#7B4AE3 #E34A66 #B2E34A #4AE3C8
split-complementary
#7B4AE3 #E3C84A #66E34A
monochromatic
#42189B #5820D0 #7B4AE3 #A27FEB #C8B4F3

Accessibility & contrast

On white

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

On black

3.93
#7B4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B4AE3#FFFFFF#000000##FFFFFF
##7B4AE31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#5C7091
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4ae3;
/* rgb */ color: rgb(123, 74, 227);
/* oklch */ color: oklch(55.1% 0.219 292.4);
Tailwind
colors: {
  custom: {
    50: '#a980ed',
    500: '#7b4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ae3;
$custom-light: #a980ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ae3",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 259.216,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55104,
    "c": 0.21857,
    "h": 292.4
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#7B4AE3
secondary
#CFE2A6
accent
#F038B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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