#7B4FF2#7B4FF2

#7B4FF2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.230 H 289.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B4FF2
RGBrgb(123, 79, 242)
HSLhsl(256, 86%, 63%)
HSVhsv(256, 67%, 95%)
CMYKcmyk(49.2%, 67.4%, 0%, 5.1%)
CIE-LABlab(47.25, 55.99, -75.60)
CIE-LCHlch(47.25, 94.08, 306.52°)
OKLaboklab(56.97% 0.0764 -0.2169)
OKLCHoklch(56.97% 0.23 289.4)
XYZxyz(26.9868, 16.2126, 85.6946)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FF2 #C6F24F
analogous
#4F75F2 #7B4FF2 #CC4FF2
triadic
#7B4FF2 #F27B4F #4FF27B
tetradic
#7B4FF2 #F24F75 #C6F24F #4FF2CC
square
#7B4FF2 #F24F75 #C6F24F #4FF2CC
split-complementary
#7B4FF2 #F2CC4F #75F24F
monochromatic
#3C0EB9 #5016EE #7B4FF2 #A688F6 #D0C1FA

Accessibility & contrast

On white

4.95
#7B4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FF2#FFFFFF#000000##FFFFFF
##7B4FF21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#52789A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b4ff2;
/* rgb */ color: rgb(123, 79, 242);
/* oklch */ color: oklch(57.0% 0.230 289.4);
Tailwind
colors: {
  custom: {
    50: '#ab83f7',
    500: '#7b4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ff2;
$custom-light: #ab83f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ff2",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 256.196,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.22995,
    "h": 289.4
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#7B4FF2
secondary
#DCECB1
accent
#E303A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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