#7B4ACA#7B4ACA

#7B4ACA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.190 H 297.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B4ACA
RGBrgb(123, 74, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 63%, 79%)
CMYKcmyk(39.1%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.32, 47.90, -59.22)
CIE-LCHlch(43.32, 76.17, 308.97°)
OKLaboklab(53.2% 0.0864 -0.1687)
OKLCHoklch(53.2% 0.19 297.1)
XYZxyz(21.2751, 13.3724, 57.3259)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ACA #99CA4A
analogous
#4A59CA #7B4ACA #BB4ACA
triadic
#7B4ACA #CA7B4A #4ACA7B
tetradic
#7B4ACA #CA4A59 #99CA4A #4ACABB
square
#7B4ACA #CA4A59 #99CA4A #4ACABB
split-complementary
#7B4ACA #CABB4A #59CA4A
monochromatic
#432377 #5E31A6 #7B4ACA #9E79D8 #C0A9E6

Accessibility & contrast

On white

5.71
#7B4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7B4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4ACA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4ACA#FFFFFF#000000##FFFFFF
##7B4ACA1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#686783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4aca;
/* rgb */ color: rgb(123, 74, 202);
/* oklch */ color: oklch(53.2% 0.190 297.1);
Tailwind
colors: {
  custom: {
    50: '#a77fdb',
    500: '#7b4aca',
    950: '#000000',
  },
}
SCSS
$custom: #7b4aca;
$custom-light: #a77fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4aca",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 262.969,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.18953,
    "h": 297.1
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#7B4ACA
secondary
#BED39D
accent
#DE4AA5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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