#7B4CF5#7B4CF5

#7B4CF5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.237 H 289.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7B4CF5
RGBrgb(123, 76, 245)
HSLhsl(257, 89%, 63%)
HSVhsv(257, 69%, 96%)
CMYKcmyk(49.8%, 69%, 0%, 3.9%)
CIE-LABlab(46.94, 58.33, -77.80)
CIE-LCHlch(46.94, 97.24, 306.86°)
OKLaboklab(56.82% 0.0786 -0.2233)
OKLCHoklch(56.82% 0.237 289.4)
XYZxyz(27.2295, 15.9712, 88.0165)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CF5 #C6F54C
analogous
#4C72F5 #7B4CF5 #CF4CF5
triadic
#7B4CF5 #F57B4C #4CF57B
tetradic
#7B4CF5 #F54C72 #C6F54C #4CF5CF
square
#7B4CF5 #F54C72 #C6F54C #4CF5CF
split-complementary
#7B4CF5 #F5CF4C #72F54C
monochromatic
#3C0BBC #5012F2 #7B4CF5 #A686F8 #D0C0FB

Accessibility & contrast

On white

5.01
#7B4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7B4CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CF5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CF5#FFFFFF#000000##FFFFFF
##7B4CF51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#50789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b4cf5;
/* rgb */ color: rgb(123, 76, 245);
/* oklch */ color: oklch(56.8% 0.237 289.4);
Tailwind
colors: {
  custom: {
    50: '#ab82fa',
    500: '#7b4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cf5;
$custom-light: #ab82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cf5",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 256.686,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.23674,
    "h": 289.4
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#7B4CF5
secondary
#DCEDB0
accent
#E600A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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