#7A4BCA#7A4BCA

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

Color values

HEX#7A4BCA
RGBrgb(122, 75, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 63%, 79%)
CMYKcmyk(39.6%, 62.9%, 0%, 20.8%)
CIE-LABlab(43.41, 47.15, -59.08)
CIE-LCHlch(43.41, 75.59, 308.59°)
OKLaboklab(53.25% 0.0839 -0.1683)
OKLCHoklch(53.25% 0.188 296.5)
XYZxyz(21.2000, 13.4336, 57.3417)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BCA #9BCA4B
analogous
#4B5CCA #7A4BCA #BA4BCA
triadic
#7A4BCA #CA7A4B #4BCA7A
tetradic
#7A4BCA #CA4B5C #9BCA4B #4BCABA
square
#7A4BCA #CA4B5C #9BCA4B #4BCABA
split-complementary
#7A4BCA #CABA4B #5CCA4B
monochromatic
#422377 #5D31A7 #7A4BCA #9D7AD8 #C0AAE6

Accessibility & contrast

On white

5.70
#7A4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7A4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BCA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BCA#FFFFFF#000000##FFFFFF
##7A4BCA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4bca;
/* rgb */ color: rgb(122, 75, 202);
/* oklch */ color: oklch(53.2% 0.188 296.5);
Tailwind
colors: {
  custom: {
    50: '#a680db',
    500: '#7a4bca',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bca;
$custom-light: #a680db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bca",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 262.205,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.18808,
    "h": 296.5
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#7A4BCA
secondary
#BFD39D
accent
#DE4AA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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