#7B4FE0#7B4FE0

#7B4FE0 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.209 H 292.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7B4FE0
RGBrgb(123, 79, 224)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 65%, 88%)
CMYKcmyk(45.1%, 64.7%, 0%, 12.2%)
CIE-LABlab(45.89, 51.10, -67.67)
CIE-LCHlch(45.89, 84.79, 307.06°)
OKLaboklab(55.56% 0.0789 -0.1935)
OKLCHoklch(55.56% 0.209 292.2)
XYZxyz(24.4152, 15.1839, 72.1509)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FE0 #B4E04F
analogous
#4F6CE0 #7B4FE0 #C44FE0
triadic
#7B4FE0 #E07B4F #4FE07B
tetradic
#7B4FE0 #E04F6C #B4E04F #4FE0C4
square
#7B4FE0 #E04F6C #B4E04F #4FE0C4
split-complementary
#7B4FE0 #E0C44F #6CE04F
monochromatic
#411B9A #5824CE #7B4FE0 #A283E9 #C9B7F2

Accessibility & contrast

On white

5.20
#7B4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7B4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FE0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FE0#FFFFFF#000000##FFFFFF
##7B4FE01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#5D7291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4fe0;
/* rgb */ color: rgb(123, 79, 224);
/* oklch */ color: oklch(55.6% 0.209 292.2);
Tailwind
colors: {
  custom: {
    50: '#a983eb',
    500: '#7b4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fe0;
$custom-light: #a983eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fe0",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 258.207,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.209,
    "h": 292.2
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#7B4FE0
secondary
#D1E2A9
accent
#ED3BB7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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