#7B4DE2#7B4DE2

#7B4DE2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.214 H 292.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7B4DE2
RGBrgb(123, 77, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(45.6%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.65, 52.69, -69.19)
CIE-LCHlch(45.65, 86.97, 307.29°)
OKLaboklab(55.43% 0.0806 -0.198)
OKLCHoklch(55.43% 0.214 292.2)
XYZxyz(24.5459, 15.0089, 73.5405)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DE2 #B4E24D
analogous
#4D6AE2 #7B4DE2 #C54DE2
triadic
#7B4DE2 #E27B4D #4DE27B
tetradic
#7B4DE2 #E24D6A #B4E24D #4DE2C5
square
#7B4DE2 #E24D6A #B4E24D #4DE2C5
split-complementary
#7B4DE2 #E2C54D #6AE24D
monochromatic
#41199B #5822D0 #7B4DE2 #A282EB #C9B6F3

Accessibility & contrast

On white

5.25
#7B4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7B4DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DE2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DE2#FFFFFF#000000##FFFFFF
##7B4DE21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#5C7191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4de2;
/* rgb */ color: rgb(123, 77, 226);
/* oklch */ color: oklch(55.4% 0.214 292.2);
Tailwind
colors: {
  custom: {
    50: '#a982ec',
    500: '#7b4de2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4de2;
$custom-light: #a982ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4de2",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 258.523,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.21381,
    "h": 292.2
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#7B4DE2
secondary
#D1E2A8
accent
#EF39B7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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