#7A3FBB#7A3FBB

#7A3FBB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.187 H 301.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7A3FBB
RGBrgb(122, 63, 187)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 66%, 73%)
CMYKcmyk(34.8%, 66.3%, 0%, 26.7%)
CIE-LABlab(40.05, 49.59, -55.78)
CIE-LCHlch(40.05, 74.63, 311.63°)
OKLaboklab(50.48% 0.0987 -0.1586)
OKLCHoklch(50.48% 0.187 301.9)
XYZxyz(18.7711, 11.2804, 48.1925)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FBB #80BB3F
analogous
#3F42BB #7A3FBB #B83FBB
triadic
#7A3FBB #BB7A3F #3FBB7A
tetradic
#7A3FBB #BB3F42 #80BB3F #3FBBB8
square
#7A3FBB #BB3F42 #80BB3F #3FBBB8
split-complementary
#7A3FBB #BBB83F #42BB3F
monochromatic
#3E205F #5C308D #7A3FBB #996ACD #B998DC

Accessibility & contrast

On white

6.45
#7A3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FBB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FBB#FFFFFF#000000##FFFFFF
##7A3FBB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#6D5B78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3fbb;
/* rgb */ color: rgb(122, 63, 187);
/* oklch */ color: oklch(50.5% 0.187 301.9);
Tailwind
colors: {
  custom: {
    50: '#a578d0',
    500: '#7a3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fbb;
$custom-light: #a578d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fbb",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 268.548,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.18681,
    "h": 301.9
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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