#7B4FE5#7B4FE5

#7B4FE5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.215 H 291.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B4FE5
RGBrgb(123, 79, 229)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 90%)
CMYKcmyk(46.3%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.26, 52.45, -69.90)
CIE-LCHlch(46.26, 87.39, 306.89°)
OKLaboklab(55.94% 0.0783 -0.2001)
OKLCHoklch(55.94% 0.215 291.4)
XYZxyz(25.1033, 15.4592, 75.7748)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FE5 #B9E54F
analogous
#4F6EE5 #7B4FE5 #C64FE5
triadic
#7B4FE5 #E57B4F #4FE57B
tetradic
#7B4FE5 #E54F6E #B9E54F #4FE5C6
square
#7B4FE5 #E54F6E #B9E54F #4FE5C6
split-complementary
#7B4FE5 #E5C64F #6EE54F
monochromatic
#4018A2 #5620D7 #7B4FE5 #A384ED #CBBAF5

Accessibility & contrast

On white

5.13
#7B4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FE5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FE5#FFFFFF#000000##FFFFFF
##7B4FE51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#5A7393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4fe5;
/* rgb */ color: rgb(123, 79, 229);
/* oklch */ color: oklch(55.9% 0.215 291.4);
Tailwind
colors: {
  custom: {
    50: '#a983ee',
    500: '#7b4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fe5;
$custom-light: #a983ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fe5",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 257.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.21487,
    "h": 291.4
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#7B4FE5
secondary
#D4E5AB
accent
#D60F9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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