#7A3FBA#7A3FBA

#7A3FBA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.186 H 302.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7A3FBA
RGBrgb(122, 63, 186)
HSLhsl(269, 49%, 49%)
HSVhsv(269, 66%, 73%)
CMYKcmyk(34.4%, 66.1%, 0%, 27.1%)
CIE-LABlab(39.98, 49.34, -55.31)
CIE-LCHlch(39.98, 74.12, 311.73°)
OKLaboklab(50.41% 0.0988 -0.1572)
OKLCHoklch(50.41% 0.186 302.2)
XYZxyz(18.6644, 11.2377, 47.6306)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FBA #7FBA3F
analogous
#3F42BA #7A3FBA #B83FBA
triadic
#7A3FBA #BA7A3F #3FBA7A
tetradic
#7A3FBA #BA3F42 #7FBA3F #3FBAB8
square
#7A3FBA #BA3F42 #7FBA3F #3FBAB8
split-complementary
#7A3FBA #BAB83F #42BA3F
monochromatic
#3E205F #5C308C #7A3FBA #996ACC #B897DC

Accessibility & contrast

On white

6.47
#7A3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7A3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FBA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FBA#FFFFFF#000000##FFFFFF
##7A3FBA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#085EB7
Tritanopia (blue-blind)
#6D5B77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3fba;
/* rgb */ color: rgb(122, 63, 186);
/* oklch */ color: oklch(50.4% 0.186 302.2);
Tailwind
colors: {
  custom: {
    50: '#a578cf',
    500: '#7a3fba',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fba;
$custom-light: #a578cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fba",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 268.78,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.1857,
    "h": 302.2
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#7A3FBA
secondary
#ACC88D
accent
#D94F97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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