#7B4DE3#7B4DE3

#7B4DE3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.215 H 292.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B4DE3
RGBrgb(123, 77, 227)
HSLhsl(258, 73%, 60%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(45.8%, 66.1%, 0%, 11%)
CIE-LABlab(45.72, 52.96, -69.63)
CIE-LCHlch(45.72, 87.49, 307.25°)
OKLaboklab(55.51% 0.0805 -0.1993)
OKLCHoklch(55.51% 0.215 292)
XYZxyz(24.6835, 15.0639, 74.2652)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DE3 #B5E34D
analogous
#4D6AE3 #7B4DE3 #C64DE3
triadic
#7B4DE3 #E37B4D #4DE37B
tetradic
#7B4DE3 #E34D6A #B5E34D #4DE3C6
square
#7B4DE3 #E34D6A #B5E34D #4DE3C6
split-complementary
#7B4DE3 #E3C64D #6AE34D
monochromatic
#41199D #5721D2 #7B4DE3 #A282EB #C9B7F4

Accessibility & contrast

On white

5.23
#7B4DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7B4DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DE3#FFFFFF#000000##FFFFFF
##7B4DE31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#5B7292
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4de3;
/* rgb */ color: rgb(123, 77, 227);
/* oklch */ color: oklch(55.5% 0.215 292.0);
Tailwind
colors: {
  custom: {
    50: '#a982ed',
    500: '#7b4de3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4de3;
$custom-light: #a982ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4de3",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 258.4,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.21498,
    "h": 292
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#7B4DE3
secondary
#D1E3A9
accent
#F038B7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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