#7A4BC2#7A4BC2

#7A4BC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.179 H 298.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC2
RGBrgb(122, 75, 194)
HSLhsl(264, 49%, 53%)
HSVhsv(264, 61%, 76%)
CMYKcmyk(37.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(42.86, 45.06, -55.33)
CIE-LCHlch(42.86, 71.35, 309.16°)
OKLaboklab(52.67% 0.0844 -0.1573)
OKLCHoklch(52.67% 0.179 298.2)
XYZxyz(20.2773, 13.0645, 52.4819)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC2 #93C24B
analogous
#4B58C2 #7A4BC2 #B54BC2
triadic
#7A4BC2 #C27A4B #4BC27A
tetradic
#7A4BC2 #C24B58 #93C24B #4BC2B5
square
#7A4BC2 #C24B58 #93C24B #4BC2B5
split-complementary
#7A4BC2 #C2B54B #58C24B
monochromatic
#42256D #5D359B #7A4BC2 #9C79D1 #BEA6E1

Accessibility & contrast

On white

5.81
#7A4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7A4BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC2#FFFFFF#000000##FFFFFF
##7A4BC21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#69657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4bc2;
/* rgb */ color: rgb(122, 75, 194);
/* oklch */ color: oklch(52.7% 0.179 298.2);
Tailwind
colors: {
  custom: {
    50: '#a57fd5',
    500: '#7a4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc2;
$custom-light: #a57fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc2",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 263.697,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.17853,
    "h": 298.2
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#7A4BC2
secondary
#BACE9B
accent
#D94FA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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