#7B4FF4#7B4FF4

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

Color values

HEX#7B4FF4
RGBrgb(123, 79, 244)
HSLhsl(256, 88%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(49.6%, 67.6%, 0%, 4.3%)
CIE-LABlab(47.41, 56.54, -76.46)
CIE-LCHlch(47.41, 95.10, 306.48°)
OKLaboklab(57.13% 0.0761 -0.2194)
OKLCHoklch(57.13% 0.232 289.1)
XYZxyz(27.2888, 16.3334, 87.2852)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FF4 #C8F44F
analogous
#4F75F4 #7B4FF4 #CD4FF4
triadic
#7B4FF4 #F47B4F #4FF47B
tetradic
#7B4FF4 #F44F75 #C8F44F #4FF4CD
square
#7B4FF4 #F44F75 #C8F44F #4FF4CD
split-complementary
#7B4FF4 #F4CD4F #75F44F
monochromatic
#3B0CBD #5015F0 #7B4FF4 #A689F8 #D1C2FB

Accessibility & contrast

On white

4.92
#7B4FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B4FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FF4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FF4#FFFFFF#000000##FFFFFF
##7B4FF41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#50799B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b4ff4;
/* rgb */ color: rgb(123, 79, 244);
/* oklch */ color: oklch(57.1% 0.232 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab83f9',
    500: '#7b4ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ff4;
$custom-light: #ab83f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ff4",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 256,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.23224,
    "h": 289.1
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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