#7B4FE9#7B4FE9

#7B4FE9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.220 H 290.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7B4FE9
RGBrgb(123, 79, 233)
HSLhsl(257, 78%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47.2%, 66.1%, 0%, 8.6%)
CIE-LABlab(46.56, 53.54, -71.67)
CIE-LCHlch(46.56, 89.46, 306.76°)
OKLaboklab(56.25% 0.0777 -0.2053)
OKLCHoklch(56.25% 0.22 290.7)
XYZxyz(25.6682, 15.6851, 78.7501)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FE9 #BDE94F
analogous
#4F70E9 #7B4FE9 #C84FE9
triadic
#7B4FE9 #E97B4F #4FE97B
tetradic
#7B4FE9 #E94F70 #BDE94F #4FE9C8
square
#7B4FE9 #E94F70 #BDE94F #4FE9C8
split-complementary
#7B4FE9 #E9C84F #70E94F
monochromatic
#3F15A9 #541CDF #7B4FE9 #A485F0 #CDBCF7

Accessibility & contrast

On white

5.08
#7B4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7B4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FE9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FE9#FFFFFF#000000##FFFFFF
##7B4FE91.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#587595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4fe9;
/* rgb */ color: rgb(123, 79, 233);
/* oklch */ color: oklch(56.3% 0.220 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa83f1',
    500: '#7b4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fe9;
$custom-light: #aa83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fe9",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 257.143,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.21954,
    "h": 290.7
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#7B4FE9
secondary
#D6E7AD
accent
#DA0B9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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