#7B4AF5#7B4AF5

#7B4AF5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.239 H 289.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7B4AF5
RGBrgb(123, 74, 245)
HSLhsl(257, 90%, 63%)
HSVhsv(257, 70%, 96%)
CMYKcmyk(49.8%, 69.8%, 0%, 3.9%)
CIE-LABlab(46.58, 59.33, -78.38)
CIE-LCHlch(46.58, 98.30, 307.12°)
OKLaboklab(56.56% 0.0803 -0.225)
OKLCHoklch(56.56% 0.239 289.6)
XYZxyz(27.0938, 15.6999, 87.9713)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AF5 #C4F54A
analogous
#4A6EF5 #7B4AF5 #D14AF5
triadic
#7B4AF5 #F57B4A #4AF57B
tetradic
#7B4AF5 #F54A6E #C4F54A #4AF5D1
square
#7B4AF5 #F54A6E #C4F54A #4AF5D1
split-complementary
#7B4AF5 #F5D14A #6EF54A
monochromatic
#3D0ABA #5110F2 #7B4AF5 #A584F8 #D0BEFB

Accessibility & contrast

On white

5.07
#7B4AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B4AF5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AF5#FFFFFF#000000##FFFFFF
##7B4AF51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#50779B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4af5;
/* rgb */ color: rgb(123, 74, 245);
/* oklch */ color: oklch(56.6% 0.239 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab80fa',
    500: '#7b4af5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4af5;
$custom-light: #ab80fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4af5",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 245
  },
  "hsl": {
    "h": 257.193,
    "s": 89.529,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.23892,
    "h": 289.6
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#7B4AF5
secondary
#DBECAE
accent
#E600A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B4AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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