#7A4BBD#7A4BBD

#7A4BBD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.172 H 299.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7A4BBD
RGBrgb(122, 75, 189)
HSLhsl(265, 46%, 52%)
HSVhsv(265, 60%, 74%)
CMYKcmyk(35.4%, 60.3%, 0%, 25.9%)
CIE-LABlab(42.53, 43.76, -52.95)
CIE-LCHlch(42.53, 68.69, 309.57°)
OKLaboklab(52.32% 0.0846 -0.1503)
OKLCHoklch(52.32% 0.173 299.4)
XYZxyz(19.7252, 12.8437, 49.5741)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BBD #8EBD4B
analogous
#4B55BD #7A4BBD #B34BBD
triadic
#7A4BBD #BD7A4B #4BBD7A
tetradic
#7A4BBD #BD4B55 #8EBD4B #4BBDB3
square
#7A4BBD #BD4B55 #8EBD4B #4BBDB3
split-complementary
#7A4BBD #BDB34B #55BD4B
monochromatic
#412668 #5D3694 #7A4BBD #9B78CD #BCA5DE

Accessibility & contrast

On white

5.88
#7A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7A4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BBD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BBD#FFFFFF#000000##FFFFFF
##7A4BBD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#6B637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4bbd;
/* rgb */ color: rgb(122, 75, 189);
/* oklch */ color: oklch(52.3% 0.172 299.4);
Tailwind
colors: {
  custom: {
    50: '#a57fd2',
    500: '#7a4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bbd;
$custom-light: #a57fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bbd",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 264.737,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.1725,
    "h": 299.4
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#7A4BBD
secondary
#B6CB99
accent
#D6529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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