#7B4EF5#7B4EF5

#7B4EF5 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.235 H 289.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B4EF5
RGBrgb(123, 78, 245)
HSLhsl(256, 89%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(49.8%, 68.2%, 0%, 3.9%)
CIE-LABlab(47.30, 57.32, -77.20)
CIE-LCHlch(47.30, 96.15, 306.59°)
OKLaboklab(57.08% 0.0769 -0.2216)
OKLCHoklch(57.08% 0.235 289.1)
XYZxyz(27.3694, 16.2511, 88.0632)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EF5 #C8F54E
analogous
#4E74F5 #7B4EF5 #CF4EF5
triadic
#7B4EF5 #F57B4E #4EF57B
tetradic
#7B4EF5 #F54E74 #C8F54E #4EF5CF
square
#7B4EF5 #F54E74 #C8F54E #4EF5CF
split-complementary
#7B4EF5 #F5CF4E #74F54E
monochromatic
#3B0BBE #5014F2 #7B4EF5 #A688F8 #D1C2FC

Accessibility & contrast

On white

4.94
#7B4EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7B4EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EF5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EF5#FFFFFF#000000##FFFFFF
##7B4EF51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#50799C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b4ef5;
/* rgb */ color: rgb(123, 78, 245);
/* oklch */ color: oklch(57.1% 0.235 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab83fa',
    500: '#7b4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ef5;
$custom-light: #ab83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ef5",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 256.168,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.23451,
    "h": 289.1
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#7B4EF5
secondary
#DDEDB2
accent
#E600A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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