#7B4FC9#7B4FC9

#7B4FC9 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.181 H 296.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B4FC9
RGBrgb(123, 79, 201)
HSLhsl(262, 53%, 55%)
HSVhsv(262, 61%, 79%)
CMYKcmyk(38.8%, 60.7%, 0%, 21.2%)
CIE-LABlab(44.26, 44.93, -57.12)
CIE-LCHlch(44.26, 72.67, 308.19°)
OKLaboklab(53.87% 0.0807 -0.1625)
OKLCHoklch(53.87% 0.181 296.4)
XYZxyz(21.5043, 14.0196, 56.8201)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FC9 #9DC94F
analogous
#4F60C9 #7B4FC9 #B84FC9
triadic
#7B4FC9 #C97B4F #4FC97B
tetradic
#7B4FC9 #C94F60 #9DC94F #4FC9B8
square
#7B4FC9 #C94F60 #9DC94F #4FC9B8
split-complementary
#7B4FC9 #C9B84F #60C94F
monochromatic
#432579 #5D33A7 #7B4FC9 #9E7ED7 #C1ADE6

Accessibility & contrast

On white

5.52
#7B4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7B4FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FC9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FC9#FFFFFF#000000##FFFFFF
##7B4FC91.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#1467C6
Tritanopia (blue-blind)
#686A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4fc9;
/* rgb */ color: rgb(123, 79, 201);
/* oklch */ color: oklch(53.9% 0.181 296.4);
Tailwind
colors: {
  custom: {
    50: '#a682da',
    500: '#7b4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fc9;
$custom-light: #a682da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fc9",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 261.639,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.18149,
    "h": 296.4
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#7B4FC9
secondary
#C1D4A0
accent
#DC4BA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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