#7B4FE6#7B4FE6

#7B4FE6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.216 H 291.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7B4FE6
RGBrgb(123, 79, 230)
HSLhsl(257, 75%, 61%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(46.5%, 65.7%, 0%, 9.8%)
CIE-LABlab(46.33, 52.72, -70.34)
CIE-LCHlch(46.33, 87.91, 306.85°)
OKLaboklab(56.02% 0.0781 -0.2014)
OKLCHoklch(56.02% 0.216 291.2)
XYZxyz(25.2433, 15.5152, 76.5122)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FE6 #BAE64F
analogous
#4F6FE6 #7B4FE6 #C64FE6
triadic
#7B4FE6 #E67B4F #4FE67B
tetradic
#7B4FE6 #E64F6F #BAE64F #4FE6C6
square
#7B4FE6 #E64F6F #BAE64F #4FE6C6
split-complementary
#7B4FE6 #E6C64F #6FE64F
monochromatic
#4017A3 #551FD9 #7B4FE6 #A385EE #CBBAF5

Accessibility & contrast

On white

5.12
#7B4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7B4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FE6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FE6#FFFFFF#000000##FFFFFF
##7B4FE61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#5A7494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4fe6;
/* rgb */ color: rgb(123, 79, 230);
/* oklch */ color: oklch(56.0% 0.216 291.2);
Tailwind
colors: {
  custom: {
    50: '#a983ef',
    500: '#7b4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fe6;
$custom-light: #a983ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fe6",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 257.483,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.21605,
    "h": 291.2
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#7B4FE6
secondary
#D4E5AC
accent
#D70E9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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