#7B4EE5#7B4EE5

#7B4EE5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.216 H 291.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7B4EE5
RGBrgb(123, 78, 229)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 90%)
CMYKcmyk(46.3%, 65.9%, 0%, 10.2%)
CIE-LABlab(46.06, 52.98, -70.21)
CIE-LCHlch(46.06, 87.95, 307.04°)
OKLaboklab(55.8% 0.0792 -0.201)
OKLCHoklch(55.8% 0.216 291.5)
XYZxyz(25.0317, 15.3160, 75.7509)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EE5 #B8E54E
analogous
#4E6CE5 #7B4EE5 #C74EE5
triadic
#7B4EE5 #E57B4E #4EE57B
tetradic
#7B4EE5 #E54E6C #B8E54E #4EE5C7
square
#7B4EE5 #E54E6C #B8E54E #4EE5C7
split-complementary
#7B4EE5 #E5C74E #6CE54E
monochromatic
#4118A1 #561FD6 #7B4EE5 #A383ED #CBB9F5

Accessibility & contrast

On white

5.17
#7B4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7B4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EE5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EE5#FFFFFF#000000##FFFFFF
##7B4EE51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#5A7393
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4ee5;
/* rgb */ color: rgb(123, 78, 229);
/* oklch */ color: oklch(55.8% 0.216 291.5);
Tailwind
colors: {
  custom: {
    50: '#a982ee',
    500: '#7b4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ee5;
$custom-light: #a982ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ee5",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 257.881,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55803,
    "c": 0.21608,
    "h": 291.5
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#7B4EE5
secondary
#D3E4AA
accent
#D70F9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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